protected function ExcludedModulesEventSubscriberTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php \Drupal\KernelTests\Core\Config\ExcludedModulesEventSubscriberTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ Config/ ExcludedModulesEventSubscriberTest.php, line 26
Class
- ExcludedModulesEventSubscriberTest
- Tests ExcludedModulesEventSubscriber.
Namespace
Drupal\KernelTests\Core\ConfigCode
protected function setUp() : void {
parent::setUp();
$this
->installConfig([
'system',
'config_test',
'config_exclude_test',
]);
$this
->setSetting('config_exclude_modules', [
'config_test',
]);
}