summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-03-03 19:47:35 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-04 09:38:34 +0100
commitb66d536fc14ceda9dddce21f76cda0658c7f82ae (patch)
tree6887029ad010714a7791e0cd2d2212b6e9b0a176 /tests
parent78f40de83535dc42acd1a007281f1ea9bdfa3b98 (diff)
downloadnextcloud-server-b66d536fc14ceda9dddce21f76cda0658c7f82ae.tar.gz
nextcloud-server-b66d536fc14ceda9dddce21f76cda0658c7f82ae.zip
Rename and move permissions are set when a file is updatable
* Fix unit tests
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/connector/sabre/node.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/connector/sabre/node.php b/tests/lib/connector/sabre/node.php
index 3b3a6107813..0eb51cf51bc 100644
--- a/tests/lib/connector/sabre/node.php
+++ b/tests/lib/connector/sabre/node.php
@@ -17,8 +17,8 @@ class Node extends \Test\TestCase {
array(\OCP\Constants::PERMISSION_ALL, 'file', true, false, 'SRDNVW'),
array(\OCP\Constants::PERMISSION_ALL, 'file', true, true, 'SRMDNVW'),
array(\OCP\Constants::PERMISSION_ALL - \OCP\Constants::PERMISSION_SHARE, 'file', true, false, 'SDNVW'),
- array(\OCP\Constants::PERMISSION_ALL - \OCP\Constants::PERMISSION_UPDATE, 'file', false, false, 'RDNV'),
- array(\OCP\Constants::PERMISSION_ALL - \OCP\Constants::PERMISSION_DELETE, 'file', false, false, 'RW'),
+ array(\OCP\Constants::PERMISSION_ALL - \OCP\Constants::PERMISSION_UPDATE, 'file', false, false, 'RD'),
+ array(\OCP\Constants::PERMISSION_ALL - \OCP\Constants::PERMISSION_DELETE, 'file', false, false, 'RNVW'),
array(\OCP\Constants::PERMISSION_ALL - \OCP\Constants::PERMISSION_CREATE, 'file', false, false, 'RDNVW'),
array(\OCP\Constants::PERMISSION_ALL - \OCP\Constants::PERMISSION_CREATE, 'dir', false, false, 'RDNV'),
);