updated core to 8.6.3
This commit is contained in:
@@ -107,7 +107,16 @@ class ConfigInstallProfileOverrideTest extends BrowserTestBase {
|
||||
$this->container->get('module_installer')->install(['dblog']);
|
||||
$this->rebuildContainer();
|
||||
$this->assertEqual($config_test_storage->load('override_unmet')->label(), 'Override', 'The optional config_test entity is overridden by the profile optional configuration and is installed when its dependencies are met.');
|
||||
$this->assertEqual($config_test_storage->load('completely_new')->label(), 'Completely new optional configuration', 'The optional config_test entity is provided by the profile optional configuration and is installed when its dependencies are met.');
|
||||
$config_test_new = $config_test_storage->load('completely_new');
|
||||
$this->assertEqual($config_test_new->label(), 'Completely new optional configuration', 'The optional config_test entity is provided by the profile optional configuration and is installed when its dependencies are met.');
|
||||
$config_test_new->delete();
|
||||
|
||||
// Install another module that provides optional configuration and ensure
|
||||
// that deleted profile configuration is not re-created.
|
||||
$this->container->get('module_installer')->install(['config_other_module_config_test']);
|
||||
$this->rebuildContainer();
|
||||
$config_test_storage = \Drupal::entityManager()->getStorage('config_test');
|
||||
$this->assertNull($config_test_storage->load('completely_new'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ class ConfigUninstallViaCliImportTest extends KernelTestBase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests that the config mopdule can be uninstalled via CLI config import.
|
||||
* Tests that the config module can be uninstalled via CLI config import.
|
||||
*
|
||||
* @see \Drupal\config\ConfigSubscriber
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user