[Pkg-owncloud-commits] [php-sabredav] 11/29: Fixed test for recent security change.
David Prévot
taffit at moszumanska.debian.org
Fri Jul 8 00:24:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 3bd4eb8f6d4303a0829f56b2ce7c1e88439b5a7f
Author: Evert Pot <me at evertpot.com>
Date: Sat May 21 01:35:51 2016 -0400
Fixed test for recent security change.
---
tests/Sabre/DAVACL/ExpandPropertiesTest.php | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/Sabre/DAVACL/ExpandPropertiesTest.php b/tests/Sabre/DAVACL/ExpandPropertiesTest.php
index 0612b54..91de643 100644
--- a/tests/Sabre/DAVACL/ExpandPropertiesTest.php
+++ b/tests/Sabre/DAVACL/ExpandPropertiesTest.php
@@ -34,6 +34,13 @@ class ExpandPropertiesTest extends \PHPUnit_Framework_TestCase {
$fakeServer->httpResponse = new HTTP\ResponseMock();
$plugin = new Plugin();
$plugin->allowUnauthenticatedAccess = false;
+ // Anyone can do anything
+ $plugin->setDefaultACL([
+ [
+ 'principal' => '{DAV:}all',
+ 'privilege' => '{DAV:}all',
+ ]
+ ]);
$this->assertTrue($plugin instanceof Plugin);
$fakeServer->addPlugin($plugin);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list