summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-05-15 08:19:31 +0200
committerJulius Härtl <jus@bitgrid.net>2020-05-15 08:19:31 +0200
commit8289565bc7d19f571899263fd76d2c3cc7484e75 (patch)
tree8f424899b31e692dd793058d03dd785e7fbcdf3b /apps
parent108faf25c0bb4de14c7084620975f6ea52ca514b (diff)
downloadnextcloud-server-8289565bc7d19f571899263fd76d2c3cc7484e75.tar.gz
nextcloud-server-8289565bc7d19f571899263fd76d2c3cc7484e75.zip
Fix share update test
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/tests/ApiTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/ApiTest.php b/apps/files_sharing/tests/ApiTest.php
index 365ea8dcb8e..9e7d8e5c693 100644
--- a/apps/files_sharing/tests/ApiTest.php
+++ b/apps/files_sharing/tests/ApiTest.php
@@ -999,7 +999,8 @@ class ApiTest extends TestCase {
\OCP\Constants::PERMISSION_READ |
\OCP\Constants::PERMISSION_CREATE |
\OCP\Constants::PERMISSION_UPDATE |
- \OCP\Constants::PERMISSION_DELETE,
+ \OCP\Constants::PERMISSION_DELETE |
+ \OCP\Constants::PERMISSION_SHARE,
$share1->getPermissions()
);