diff --git a/core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php b/core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php index df6f607d26..7ff1ec3a12 100644 --- a/core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php +++ b/core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php @@ -149,7 +149,7 @@ public function testInstallThemeWithUnmetModuleDependencies($theme_name, $missin $themes = $this->themeHandler()->listInfo(); $this->assertEmpty(array_keys($themes)); $this->expectException(MissingDependencyException::class); - $this->expectExceptionMessage("Unable to install theme: '$theme_name' due to missing module dependencies: '$missing_dependencies'"); + $this->expectExceptionMessage("Unable to install theme: '$theme_name' due to unmet module dependencies: '$missing_dependencies'"); $this->themeInstaller()->install([$theme_name]); }