[Pkg-owncloud-commits] [php-sabredav] 34/42: Fixed unittests for #476.

David Prévot taffit at moszumanska.debian.org
Wed Jul 23 16:41:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit ce1afff7e0afb1f2ed278cd3830d138ba759c830
Author: Evert Pot <me at evertpot.com>
Date:   Wed Jul 2 12:12:43 2014 -0400

    Fixed unittests for #476.
---
 tests/Sabre/DAV/Browser/PluginTest.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Sabre/DAV/Browser/PluginTest.php b/tests/Sabre/DAV/Browser/PluginTest.php
index 7bc918a..ccdd49d 100644
--- a/tests/Sabre/DAV/Browser/PluginTest.php
+++ b/tests/Sabre/DAV/Browser/PluginTest.php
@@ -32,7 +32,7 @@ class PluginTest extends DAV\AbstractServer{
         $this->assertEquals(200, $this->response->status, "Incorrect status received. Full response body: " . $this->response->getBodyAsString());
         $this->assertEquals(array(
             'Content-Type' => 'text/html; charset=utf-8',
-            'Content-Security-Policy' => "img-src 'self'; style-src 'unsafe-inline';"
+            'Content-Security-Policy' => "img-src 'self'; style-src 'self';"
             ),
             $this->response->headers
         );
@@ -55,7 +55,7 @@ class PluginTest extends DAV\AbstractServer{
         $this->assertEquals(200, $this->response->status, "Incorrect status received. Full response body: " . $this->response->getBodyAsString());
         $this->assertEquals(array(
             'Content-Type' => 'text/html; charset=utf-8',
-            'Content-Security-Policy' => "img-src 'self'; style-src 'unsafe-inline';"
+            'Content-Security-Policy' => "img-src 'self'; style-src 'self';"
             ),
             $this->response->headers
         );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list