From 9b750c08ac70efd13f97fe3076ad7a1d5d3af5a0 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 15 May 2017 15:54:37 +0200 Subject: [PATCH] update comment to code Signed-off-by: Robin Appelman --- apps/files_sharing/tests/SharedStorageTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/tests/SharedStorageTest.php b/apps/files_sharing/tests/SharedStorageTest.php index 0d536e9483c..195016c47d1 100644 --- a/apps/files_sharing/tests/SharedStorageTest.php +++ b/apps/files_sharing/tests/SharedStorageTest.php @@ -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()); -- 2.39.5