protected function ExperimentalModuleTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 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\ModuleCode
protected function setUp() : void {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'access administration pages',
'administer modules',
]);
$this
->drupalLogin($this->adminUser);
}