You are here

protected function ExperimentalModuleTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Functional/Module/ExperimentalModuleTest.php \Drupal\Tests\system\Functional\Module\ExperimentalModuleTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Module/ExperimentalModuleTest.php, line 30

Class

ExperimentalModuleTest
Tests the installation of modules.

Namespace

Drupal\Tests\system\Functional\Module

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'access administration pages',
    'administer modules',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}