function UpdateSemverTestBase::setUp
Same name in other branches
- 9 core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::setUp()
- 10 core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php, line 42
Class
- UpdateSemverTestBase
- Common setup and utility methods to test projects that use semver releases.
Namespace
Drupal\Tests\update\FunctionalCode
protected function setUp() : void {
parent::setUp();
$admin_user = $this->drupalCreateUser([
'administer site configuration',
'view update notifications',
]);
$this->drupalLogin($admin_user);
$this->drupalPlaceBlock('local_actions_block');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.