You are here

protected function UpdateCoreTest::setUp in Drupal 8

Overrides UpdateTestBase::setUp

File

core/modules/update/tests/src/Functional/UpdateCoreTest.php, line 41

Class

UpdateCoreTest
Tests the Update Manager module through a series of functional tests using mock XML data.

Namespace

Drupal\Tests\update\Functional

Code

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