function UpdateScriptFunctionalTest::setUp

Overrides DrupalWebTestCase::setUp

File

modules/system/system.test, line 2519

Class

UpdateScriptFunctionalTest
Tests for the update system functionality.

Code

function setUp() {
    parent::setUp('update_script_test');
    $this->update_url = $GLOBALS['base_url'] . '/update.php';
    $this->update_user = $this->drupalCreateUser(array(
        'administer software updates',
    ));
}

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