function DefaultConfigTest::testModuleConfig
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php \Drupal\KernelTests\Config\DefaultConfigTest::testModuleConfig()
- 8.9.x core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php \Drupal\KernelTests\Config\DefaultConfigTest::testModuleConfig()
- 11.x core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php \Drupal\KernelTests\Config\DefaultConfigTest::testModuleConfig()
Tests if installed config is equal to the exported config.
@dataProvider moduleListDataProvider
File
-
core/
tests/ Drupal/ KernelTests/ Config/ DefaultConfigTest.php, line 54
Class
- DefaultConfigTest
- Tests that the installed config matches the default config.
Namespace
Drupal\KernelTests\ConfigCode
public function testModuleConfig(string $module) : void {
$this->assertExtensionConfig($module, 'module');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.