function UpdateTestUploadCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/update/update.test, line 708

Class

UpdateTestUploadCase
Tests project upload and extract functionality.

Code

public function setUp() {
    parent::setUp('update', 'update_test');
    variable_set('allow_authorize_operations', TRUE);
    $admin_user = $this->drupalCreateUser(array(
        'administer software updates',
        'administer site configuration',
    ));
    $this->drupalLogin($admin_user);
}

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