protected function UpdateUploadTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/update/tests/src/Functional/UpdateUploadTest.php \Drupal\Tests\update\Functional\UpdateUploadTest::setUp()
Overrides UpdateTestBase::setUp
File
- core/
modules/ update/ tests/ src/ Functional/ UpdateUploadTest.php, line 33
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);
}