summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-03-20 11:30:51 +0100
committerVincent Petry <pvince81@owncloud.com>2015-03-20 11:30:51 +0100
commiteef5851a6750da9fb15446af09dd8f385131de73 (patch)
tree1f4d31644ead4c9c161d568f72670aa120cc5b67 /tests/lib
parent5f7b3a4dbe2b62d315cced584988a0b1929959e0 (diff)
downloadnextcloud-server-eef5851a6750da9fb15446af09dd8f385131de73.tar.gz
nextcloud-server-eef5851a6750da9fb15446af09dd8f385131de73.zip
Fix share permission related unit tests
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/connector/sabre/objecttree.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/connector/sabre/objecttree.php b/tests/lib/connector/sabre/objecttree.php
index d2702027b0d..53e53f1e07b 100644
--- a/tests/lib/connector/sabre/objecttree.php
+++ b/tests/lib/connector/sabre/objecttree.php
@@ -69,7 +69,7 @@ class ObjectTree extends \Test\TestCase {
function moveFailedInvalidCharsProvider() {
return array(
- array('a/b', 'a/*', array('a' => false, 'a/b' => true, 'a/c*' => false), array()),
+ array('a/b', 'a/*', array('a' => true, 'a/b' => true, 'a/c*' => false), array()),
);
}
@@ -80,12 +80,12 @@ class ObjectTree extends \Test\TestCase {
array('a/b', 'b/b', array('a' => false, 'a/b' => true, 'b' => false, 'b/b' => false), array()),
array('a/b', 'b/b', array('a' => true, 'a/b' => true, 'b' => false, 'b/b' => false), array()),
array('a/b', 'b/b', array('a' => true, 'a/b' => true, 'b' => true, 'b/b' => false), array('a/b' => false)),
+ array('a/b', 'a/c', array('a' => false, 'a/b' => true, 'a/c' => false), array()),
);
}
function moveSuccessProvider() {
return array(
- array('a/b', 'a/c', array('a' => false, 'a/b' => true, 'a/c' => false), array()),
array('a/b', 'b/b', array('a' => true, 'a/b' => true, 'b' => true, 'b/b' => false), array('a/b' => true)),
// older files with special chars can still be renamed to valid names
array('a/b*', 'b/b', array('a' => true, 'a/b*' => true, 'b' => true, 'b/b' => false), array('a/b*' => true)),