diff -u b/core/modules/config/lib/Drupal/config/Tests/ConfigOtherModuleTest.php b/core/modules/config/lib/Drupal/config/Tests/ConfigOtherModuleTest.php --- b/core/modules/config/lib/Drupal/config/Tests/ConfigOtherModuleTest.php +++ b/core/modules/config/lib/Drupal/config/Tests/ConfigOtherModuleTest.php @@ -21,7 +21,7 @@ public static function getInfo() { return array( - 'name' => 'Default configuration provider for config_test', + 'name' => 'Default configuration owner', 'description' => 'Tests default configuration provided by a module that does not own it.', 'group' => 'Configuration', ); @@ -36,7 +36,7 @@ $this->moduleHandler->enable(array('config_other_module_config')); // Check that the config entity doesn't exist before the config_test module - // is enabled. We can not use the entity system because the config_test + // is enabled. We cannot use the entity system because the config_test // entity type does not exist. $config = \Drupal::config('config_test.dynamic.other_module'); $this->assertTrue($config->isNew(), 'Default configuration for other modules is not installed if that module is not enabled.'); @@ -59,12 +59,10 @@ $other_module_config_entity = entity_load('config_test', 'other_module', TRUE); $this->assertTrue($other_module_config_entity, "Default configuration has been recreated."); - // Update the default configuration. To test that the changes are preserved + // Update the default configuration to test that the changes are preserved // if the module that provides the default configuration is uninstalled. $other_module_config_entity->set('style', "The piano ain't got no wrong notes."); $other_module_config_entity->save(); - $config = \Drupal::config('config_test.dynamic.other_module'); - $this->assertTrue($config->isNew(), 'Default configuration for other modules is not installed if that module is not enabled.'); // Uninstall the module that provides the default configuration. $this->moduleHandler->disable(array('config_other_module_config'));