summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-05-15 15:54:37 +0200
committerRobin Appelman <robin@icewind.nl>2017-05-15 15:54:37 +0200
commit9b750c08ac70efd13f97fe3076ad7a1d5d3af5a0 (patch)
tree0c24b6305b2a73ee8693c042bc17c4047970ed5d /apps
parent412d3e2e80f79b09e51b9f9aeebc6298aa524ddf (diff)
downloadnextcloud-server-9b750c08ac70efd13f97fe3076ad7a1d5d3af5a0.tar.gz
nextcloud-server-9b750c08ac70efd13f97fe3076ad7a1d5d3af5a0.zip
update comment to code
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/tests/SharedStorageTest.php5
1 files 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());