function ToolbarTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/toolbar/toolbar.test, line 15

Class

ToolbarTestCase

Code

function setUp() {
    parent::setUp();
    // Setup users.
    $this->admin_user = $this->drupalCreateUser(array(
        'access toolbar',
    ));
    $this->drupalLogin($this->admin_user);
}

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