function UpdateUploadTest::setUp
Same name in other branches
- 8.9.x core/modules/update/tests/src/Functional/UpdateUploadTest.php \Drupal\Tests\update\Functional\UpdateUploadTest::setUp()
- 10 core/modules/update/tests/src/Functional/UpdateUploadTest.php \Drupal\Tests\update\Functional\UpdateUploadTest::setUp()
- 11.x core/modules/update/tests/src/Functional/UpdateUploadTest.php \Drupal\Tests\update\Functional\UpdateUploadTest::setUp()
Overrides UpdateUploaderTestBase::setUp
File
-
core/
modules/ update/ tests/ src/ Functional/ UpdateUploadTest.php, line 36
Class
- UpdateUploadTest
- Tests the Update Manager module's upload and extraction functionality.
Namespace
Drupal\Tests\update\FunctionalCode
protected function setUp() : void {
parent::setUp();
$admin_user = $this->drupalCreateUser([
'administer modules',
'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.