diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php index 82d8dc1e18..71537340a3 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @@ -100,7 +100,7 @@ public function testValidateOneThemeDependency() { ]); $expected = [ - "The $module_name module is required by the theme $theme_name", + "Required by the theme: $theme_name", ]; $reasons = $this->moduleRequiredByThemeUninstallValidator->validate($module); @@ -147,7 +147,7 @@ public function testValidateTwoThemeDependencies() { ]); $expected = [ - "The $module_name module is required by the themes $theme_name_1, $theme_name_2", + "Required by the themes: $theme_name_1, $theme_name_2", ]; $reasons = $this->moduleRequiredByThemeUninstallValidator->validate($module);