Issue #2862207 by kalpaitch, jmmarquez, jeetendrakumar: Config import change profile message
parent
eca600bdb6
commit
e4c874e18c
|
@ -136,7 +136,7 @@ class ConfigImportSubscriber extends ConfigImportValidateEventSubscriberBase {
|
|||
|
||||
// Ensure the profile is not changing.
|
||||
if ($install_profile !== $core_extension['profile']) {
|
||||
$config_importer->logError($this->t('Cannot change the install profile from %new_profile to %profile once Drupal is installed.', ['%profile' => $install_profile, '%new_profile' => $core_extension['profile']]));
|
||||
$config_importer->logError($this->t('Cannot change the install profile from %profile to %new_profile once Drupal is installed.', ['%profile' => $install_profile, '%new_profile' => $core_extension['profile']]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -692,7 +692,7 @@ class ConfigImporterTest extends KernelTestBase {
|
|||
// does not use an install profile. This situation should be impossible
|
||||
// to get in but site's can removed the install profile setting from
|
||||
// settings.php so the test is valid.
|
||||
$this->assertEqual(['Cannot change the install profile from <em class="placeholder">this_will_not_work</em> to <em class="placeholder"></em> once Drupal is installed.'], $error_log);
|
||||
$this->assertEqual(['Cannot change the install profile from <em class="placeholder"></em> to <em class="placeholder">this_will_not_work</em> once Drupal is installed.'], $error_log);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue