diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-03-26 22:01:05 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-03-26 22:01:05 +0100 |
commit | e8109f0bc3065cb038bc97faa37d0a19e748fdd9 (patch) | |
tree | 7a77c9022000d8e761dd1045afbf60bc37afb18b /tests | |
parent | 4c00be49613fe14a03e996dd0768bcb7ef2795ab (diff) | |
parent | eef5851a6750da9fb15446af09dd8f385131de73 (diff) | |
download | nextcloud-server-e8109f0bc3065cb038bc97faa37d0a19e748fdd9.tar.gz nextcloud-server-e8109f0bc3065cb038bc97faa37d0a19e748fdd9.zip |
Merge pull request #13802 from owncloud/share-partfilepermissions
Fix share permission checks
Diffstat (limited to 'tests')
-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)), |