You are here

function PageNotFoundTestCase::setUp in Drupal 7

Implement setUp().

Overrides DrupalWebTestCase::setUp

File

modules/system/system.test, line 1124
Tests for system.module.

Class

PageNotFoundTestCase

Code

function setUp() {
  parent::setUp();

  // Create an administrative user.
  $this->admin_user = $this
    ->drupalCreateUser(array(
    'administer site configuration',
  ));
  $this
    ->drupalLogin($this->admin_user);
}