Skip to content
Snippets Groups Projects
Commit 11953162 authored by Jess's avatar Jess
Browse files

Issue #2862207 by kalpaitch, jmmarquez, jeetendrakumar: Config import change profile message

(cherry picked from commit e4c874e1)
parent 18b979da
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ protected function validateModules(ConfigImporter $config_importer) {
// 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 @@ public function testInstallProfileMisMatch() {
// 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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment