function NonStableModulesTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/Module/NonStableModulesTest.php \Drupal\Tests\system\Functional\Module\NonStableModulesTest::setUp()
  2. 11.x core/modules/system/tests/src/Functional/Module/NonStableModulesTest.php \Drupal\Tests\system\Functional\Module\NonStableModulesTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Module/NonStableModulesTest.php, line 33

Class

NonStableModulesTest
Tests the installation of deprecated and experimental modules.

Namespace

Drupal\Tests\system\Functional\Module

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.