protected function ConfigRewriteTest::setUp in Configuration Rewrite 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/ConfigRewriteTest.php \Drupal\Tests\config_rewrite\Kernel\ConfigRewriteTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ ConfigRewriteTest.php, line 44
Class
- ConfigRewriteTest
- @coversDefaultClass \Drupal\config_rewrite\ConfigRewriter @group config_rewrite
Namespace
Drupal\Tests\config_rewrite\KernelCode
protected function setUp() {
parent::setUp();
$this->configRewriter = $this->container
->get('config_rewrite.config_rewriter');
$this->activeConfigStorage = $this->container
->get('config.storage');
$this->languageConfigFactoryOverride = $this->container
->get('language.config_factory_override');
$this
->installSchema('system', [
'sequence',
]);
$this
->installEntitySchema('user_role');
$this
->installConfig([
'language',
'config_rewrite_test',
]);
}