function UpdateCoreTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/update/update.test, line 73

Class

UpdateCoreTestCase
Tests behavior related to discovering and listing updates to Drupal core.

Code

function setUp() {
    parent::setUp('update_test', 'update');
    $admin_user = $this->drupalCreateUser(array(
        'administer site configuration',
        'administer modules',
    ));
    $this->drupalLogin($admin_user);
}

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