diff --git a/core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php b/core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php index 066c24b..1a3b681 100644 --- a/core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php +++ b/core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php @@ -216,7 +216,7 @@ public function testHelpTopicsBrokenYaml() { ]); $discovery = new HelpTopicDiscovery(['help_topics' => vfsStream::url('root/modules/help_topics/help_topics')]); $this->expectException(DiscoveryException::class); - $this->expectExceptionMessage("Malformed YAML in help topic \"vfs://root/modules/help_topics/help_topics/core.topic.html.twig\":"); + $this->expectExceptionMessage("Malformed YAML in template \"vfs://root/modules/help_topics/help_topics/core.topic.html.twig\":"); $discovery->getDefinitions(); }