protected function ConfigInstallWebTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/config/tests/src/Functional/ConfigInstallWebTest.php \Drupal\Tests\config\Functional\ConfigInstallWebTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ config/ tests/ src/ Functional/ ConfigInstallWebTest.php, line 34
Class
- ConfigInstallWebTest
- Tests installation and removal of configuration objects in install, disable and uninstall functionality.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'administer modules',
'administer themes',
'administer site configuration',
]);
// Ensure the global variable being asserted by this test does not exist;
// a previous test executed in this request/process might have set it.
unset($GLOBALS['hook_config_test']);
}