function PageNotFoundTestCase::setUp
Implement setUp().
Overrides DrupalWebTestCase::setUp
File
-
modules/
system/ system.test, line 1150
Class
Code
function setUp() {
parent::setUp();
// Create an administrative user.
$this->admin_user = $this->drupalCreateUser(array(
'administer site configuration',
));
$this->drupalLogin($this->admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.