diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-03-20 11:30:51 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-03-20 11:30:51 +0100 |
commit | eef5851a6750da9fb15446af09dd8f385131de73 (patch) | |
tree | 1f4d31644ead4c9c161d568f72670aa120cc5b67 /tests/lib | |
parent | 5f7b3a4dbe2b62d315cced584988a0b1929959e0 (diff) | |
download | nextcloud-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.php | 4 |
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)), |