protected function UpdateContribTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/update/tests/src/Functional/UpdateContribTest.php \Drupal\Tests\update\Functional\UpdateContribTest::setUp()
Overrides UpdateTestBase::setUp
File
- core/
modules/ update/ tests/ src/ Functional/ UpdateContribTest.php, line 44
Class
- UpdateContribTest
- Tests how the Update Manager module handles contributed modules and themes in a series of functional tests using mock XML data.
Namespace
Drupal\Tests\update\FunctionalCode
protected function setUp() : void {
parent::setUp();
$admin_user = $this
->drupalCreateUser([
'administer site configuration',
]);
$this
->drupalLogin($admin_user);
}