Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg committed Dec 23, 2023
1 parent ccf927d commit af9a9db
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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);
}
Expand Down

0 comments on commit af9a9db

Please sign in to comment.