protected function ConfigImportInstallProfileTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config/tests/src/Functional/ConfigImportInstallProfileTest.php \Drupal\Tests\config\Functional\ConfigImportInstallProfileTest::setUp()
- 9 core/modules/config/tests/src/Functional/ConfigImportInstallProfileTest.php \Drupal\Tests\config\Functional\ConfigImportInstallProfileTest::setUp()
File
- core/
modules/ config/ tests/ src/ Functional/ ConfigImportInstallProfileTest.php, line 40
Class
- ConfigImportInstallProfileTest
- Tests the importing/exporting configuration based on the install profile.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->webUser = $this
->drupalCreateUser([
'synchronize configuration',
]);
$this
->drupalLogin($this->webUser);
$this
->copyConfig($this->container
->get('config.storage'), $this->container
->get('config.storage.sync'));
}