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); }