function HelpTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/help/help.test, line 35

Class

HelpTestCase
Tests help display and user access for all modules implementing help.

Code

function setUp() {
    parent::setUp('blog', 'poll');
    $this->getModuleList();
    // Create users.
    $this->big_user = $this->drupalCreateUser(array(
        'access administration pages',
        'view the administration theme',
        'administer permissions',
    ));
    $this->any_user = $this->drupalCreateUser(array());
}

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