Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Controller/DisplayControllerTest.php')
-rw-r--r--tests/Unit/Controller/DisplayControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Controller/DisplayControllerTest.php b/tests/Unit/Controller/DisplayControllerTest.php
index 0caa6d6..a209d18 100644
--- a/tests/Unit/Controller/DisplayControllerTest.php
+++ b/tests/Unit/Controller/DisplayControllerTest.php
@@ -62,7 +62,7 @@ class DisplayControllerTest extends TestCase {
$policy->addAllowedChildSrcDomain('\'self\'');
$policy->addAllowedFontDomain('data:');
$policy->addAllowedImageDomain('*');
- $policy->allowEvalScript(false);
+ $policy->allowEvalScript(true);
$expectedResponse->setContentSecurityPolicy($policy);
$this->assertEquals($expectedResponse, $this->controller->showPdfViewer());