You are here

protected function DevelModulesReinstallTest::setUp in Devel 8

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/DevelModulesReinstallTest.php \Drupal\Tests\devel\Functional\DevelModulesReinstallTest::setUp()
  2. 8.2 tests/src/Functional/DevelModulesReinstallTest.php \Drupal\Tests\devel\Functional\DevelModulesReinstallTest::setUp()
  3. 4.x tests/src/Functional/DevelModulesReinstallTest.php \Drupal\Tests\devel\Functional\DevelModulesReinstallTest::setUp()

Set up test.

Overrides BrowserTestBase::setUp

File

tests/src/Functional/DevelModulesReinstallTest.php, line 31

Class

DevelModulesReinstallTest
Tests reinstall modules.

Namespace

Drupal\Tests\devel\Functional

Code

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