function SystemThemeFunctionalTest::setUp

Overrides DrupalWebTestCase::setUp

File

modules/system/system.test, line 1910

Class

SystemThemeFunctionalTest
Tests for the theme interface functionality.

Code

function setUp() {
    parent::setUp();
    $this->admin_user = $this->drupalCreateUser(array(
        'access administration pages',
        'view the administration theme',
        'administer themes',
        'bypass node access',
        'administer blocks',
    ));
    $this->drupalLogin($this->admin_user);
    $this->node = $this->drupalCreateNode();
}

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