You are here

public function DefaultConfigTest::testModuleConfig in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php \Drupal\KernelTests\Config\DefaultConfigTest::testModuleConfig()
  2. 9 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 51

Class

DefaultConfigTest
Tests that the installed config matches the default config.

Namespace

Drupal\KernelTests\Config

Code

public function testModuleConfig($module) {
  $this
    ->assertExtensionConfig($module, 'module');
}