protected function IgnoreKernelTest::setUp in Config Ignore 8.2
Same name and namespace in other branches
- 8.3 tests/src/Kernel/IgnoreKernelTest.php \Drupal\Tests\config_ignore\Kernel\IgnoreKernelTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ IgnoreKernelTest.php, line 40
Class
- IgnoreKernelTest
- Test the transformations.
Namespace
Drupal\Tests\config_ignore\KernelCode
protected function setUp() {
parent::setUp();
// We install the system and config_test config so that there is something
// to modify and ignore for the test.
$this
->installConfig([
'system',
'config_test',
]);
// Set up multilingual. The config_test module comes with translations.
ConfigurableLanguage::createFromLangcode('de')
->save();
ConfigurableLanguage::createFromLangcode('fr')
->save();
}