summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-15 12:43:25 -0500
committerGitHub <noreply@github.com>2017-05-15 12:43:25 -0500
commit91dfff5db4465c63b72daf3918f0750aa81e82e6 (patch)
tree4f827935df5347a9b8ac8b1bd8babc4dab4728a2 /apps/files_sharing
parentad0d0b0916fef2826803c0641371efa0c7e91d64 (diff)
downloadnextcloud-server-91dfff5db4465c63b72daf3918f0750aa81e82e6.tar.gz
nextcloud-server-91dfff5db4465c63b72daf3918f0750aa81e82e6.zip
Revert "fix permissions of mountpoints - take 2"
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/tests/SharedStorageTest.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files_sharing/tests/SharedStorageTest.php b/apps/files_sharing/tests/SharedStorageTest.php
index 195016c47d1..7d007cb6414 100644
--- a/apps/files_sharing/tests/SharedStorageTest.php
+++ b/apps/files_sharing/tests/SharedStorageTest.php
@@ -207,11 +207,10 @@ class SharedStorageTest extends TestCase {
$this->assertTrue(\OC\Files\Filesystem::is_dir($this->folder));
// for the share root we expect:
- // the read permissions
- // the delete permission, to enable unshare
- // the update permission, to enable moving the share
+ // the read permissions (1)
+ // the delete permission (8), to enable unshare
$rootInfo = \OC\Files\Filesystem::getFileInfo($this->folder);
- $this->assertSame(\OCP\Constants::PERMISSION_READ | \OCP\Constants::PERMISSION_DELETE | \OCP\Constants::PERMISSION_UPDATE, $rootInfo->getPermissions());
+ $this->assertSame(9, $rootInfo->getPermissions());
// for the file within the shared folder we expect:
// the read permissions (1)