summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/PermissionsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/PermissionsTest.php')
-rw-r--r--apps/files_sharing/tests/PermissionsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/PermissionsTest.php b/apps/files_sharing/tests/PermissionsTest.php
index edbaf2f555a..4d21b3e0eb7 100644
--- a/apps/files_sharing/tests/PermissionsTest.php
+++ b/apps/files_sharing/tests/PermissionsTest.php
@@ -137,7 +137,7 @@ class PermissionsTest extends TestCase {
/**
* Test that the permissions of shared directory are returned correctly
*/
- function testGetPermissions() {
+ public function testGetPermissions() {
$sharedDirPerms = $this->sharedStorage->getPermissions('');
$this->assertEquals(31, $sharedDirPerms);
$sharedDirPerms = $this->sharedStorage->getPermissions('textfile.txt');
@@ -151,7 +151,7 @@ class PermissionsTest extends TestCase {
/**
* Test that the permissions of shared directory are returned correctly
*/
- function testGetDirectoryPermissions() {
+ public function testGetDirectoryPermissions() {
$contents = $this->secondView->getDirectoryContent('files/shareddir');
$this->assertEquals('subdir', $contents[0]['name']);
$this->assertEquals(31, $contents[0]['permissions']);