function DateFormatTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/system/system.test, line 1542

Class

DateFormatTestCase
Tests date format configuration.

Code

function setUp() {
    parent::setUp();
    // Create admin user and log in admin 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.