You are here

public function DefaultConfigTest::testModuleConfig in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php \Drupal\KernelTests\Config\DefaultConfigTest::testModuleConfig()

Tests if installed config is equal to the exported config.

@dataProvider coreModuleListDataProvider

File

core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php, line 54

Class

DefaultConfigTest
Tests that the installed config matches the default config.

Namespace

Drupal\KernelTests\Config

Code

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