function PollBlockTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/poll/poll.test, line 380

Class

PollBlockTestCase

Code

function setUp() {
    parent::setUp('poll');
    // Create and login user
    $admin_user = $this->drupalCreateUser(array(
        'administer blocks',
    ));
    $this->drupalLogin($admin_user);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.