You are here

protected function UpdateSemverTestBase::setUp in Drupal 9

Overrides UpdateTestBase::setUp

File

core/modules/update/tests/src/Functional/UpdateSemverTestBase.php, line 40

Class

UpdateSemverTestBase
Common test methods for projects that use semver version releases.

Namespace

Drupal\Tests\update\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $admin_user = $this
    ->drupalCreateUser([
    'administer site configuration',
    'administer modules',
    'administer themes',
  ]);
  $this
    ->drupalLogin($admin_user);
  $this
    ->drupalPlaceBlock('local_actions_block');
}