protected function ConfigOverrideTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Config/ConfigOverrideTest.php \Drupal\KernelTests\Core\Config\ConfigOverrideTest::setUp()
- 9 core/tests/Drupal/KernelTests/Core/Config/ConfigOverrideTest.php \Drupal\KernelTests\Core\Config\ConfigOverrideTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigOverrideTest.php, line 21
Class
- ConfigOverrideTest
- Tests configuration overrides via $config in settings.php.
Namespace
Drupal\KernelTests\Core\ConfigCode
protected function setUp() : void {
parent::setUp();
$this
->installConfig([
'system',
]);
$this
->copyConfig($this->container
->get('config.storage'), $this->container
->get('config.storage.sync'));
}