]> source.dussan.org Git - nextcloud-server.git/commitdiff
update comment to code 4685/head
authorRobin Appelman <robin@icewind.nl>
Mon, 15 May 2017 13:54:37 +0000 (15:54 +0200)
committerRobin Appelman <robin@icewind.nl>
Mon, 15 May 2017 13:54:37 +0000 (15:54 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/files_sharing/tests/SharedStorageTest.php

index 0d536e9483c4fd4d7278e370db1e4706b5369f6e..195016c47d119c3550acd113600038a3a9651f90 100644 (file)
@@ -207,8 +207,9 @@ class SharedStorageTest extends TestCase {
                $this->assertTrue(\OC\Files\Filesystem::is_dir($this->folder));
 
                // for the share root we expect:
-               // the read permissions (1)
-               // the delete permission (8), to enable unshare
+               // the read permissions
+               // the delete permission, to enable unshare
+               // the update permission, to enable moving the share
                $rootInfo = \OC\Files\Filesystem::getFileInfo($this->folder);
                $this->assertSame(\OCP\Constants::PERMISSION_READ | \OCP\Constants::PERMISSION_DELETE | \OCP\Constants::PERMISSION_UPDATE, $rootInfo->getPermissions());