function DateTimeFunctionalTest::setUp

Overrides DrupalWebTestCase::setUp

File

modules/system/system.test, line 1332

Class

DateTimeFunctionalTest
Tests generic date and time handling capabilities of Drupal.

Code

function setUp() {
    parent::setUp(array(
        'locale',
    ));
    // 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.