We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36c6a67 commit c5c49daCopy full SHA for c5c49da
tests/Unit/Controller/DisplayControllerTest.php
@@ -62,7 +62,7 @@ public function testShowPdfViewer(): void {
62
$policy->addAllowedChildSrcDomain('\'self\'');
63
$policy->addAllowedFontDomain('data:');
64
$policy->addAllowedImageDomain('*');
65
- $policy->allowEvalScript(false);
+ $policy->allowEvalScript(true);
66
$expectedResponse->setContentSecurityPolicy($policy);
67
68
$this->assertEquals($expectedResponse, $this->controller->showPdfViewer());
0 commit comments