]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix share update test 20846/head
authorJulius Härtl <jus@bitgrid.net>
Fri, 15 May 2020 06:19:31 +0000 (08:19 +0200)
committerJulius Härtl <jus@bitgrid.net>
Fri, 15 May 2020 06:19:31 +0000 (08:19 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files_sharing/tests/ApiTest.php

index 365ea8dcb8e59578b7c701b990fcad598ccbe296..9e7d8e5c693c6c2ae59f65d01728e4e7f7123b1e 100644 (file)
@@ -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()
                );