From af9a9db8a63b3d3faec2f908762c29a4fdb32708 Mon Sep 17 00:00:00 2001 From: Fritz Michael Gschwantner Date: Sat, 23 Dec 2023 15:22:28 +0100 Subject: [PATCH] fix test --- .../DependencyInjection/Compiler/CheckCspReportingPassTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-bundle/tests/DependencyInjection/Compiler/CheckCspReportingPassTest.php b/core-bundle/tests/DependencyInjection/Compiler/CheckCspReportingPassTest.php index 2c6b2e60283..6859a9391e1 100644 --- a/core-bundle/tests/DependencyInjection/Compiler/CheckCspReportingPassTest.php +++ b/core-bundle/tests/DependencyInjection/Compiler/CheckCspReportingPassTest.php @@ -25,7 +25,7 @@ public function testThrowsExceptionIfReportingIsEnabledAndNelmioSecurityBundleIs $container->setParameter('contao.csp.reporting.enabled', true); $this->expectException(LogicException::class); - $this->expectExceptionMessage('Cannot enable CSP reporting if the NelmioSecurityBundle was not loaded.'); + $this->expectExceptionMessage('Cannot enable Contao CSP reporting if the NelmioSecurityBundle was not loaded.'); (new CheckCspReportingPass())->process($container); }