diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-11 16:30:54 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-11 16:30:54 +0100 |
commit | ec31ee911779aeba9c81a95ceb5891bd93b97dd5 (patch) | |
tree | 2f4e4aab2dab2c03134ff07f352dd09258816940 /apps/files_sharing/tests | |
parent | e9a003fe211f1ba800aeed4efa85827baaca24a0 (diff) | |
download | nextcloud-server-ec31ee911779aeba9c81a95ceb5891bd93b97dd5.tar.gz nextcloud-server-ec31ee911779aeba9c81a95ceb5891bd93b97dd5.zip |
Mark functions private
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/capabilities.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/capabilities.php b/apps/files_sharing/tests/capabilities.php index 91173985f5c..a7c487bf589 100644 --- a/apps/files_sharing/tests/capabilities.php +++ b/apps/files_sharing/tests/capabilities.php @@ -35,7 +35,7 @@ class FilesSharingCapabilitiesTest extends \Test\TestCase { * @param string[] $data Capabilities * @return string[] */ - function getFilesSharingPart(array $data) { + private function getFilesSharingPart(array $data) { $this->assertArrayHasKey('capabilities', $data); $this->assertArrayHasKey('files_sharing', $data['capabilities']); return $data['capabilities']['files_sharing']; @@ -49,7 +49,7 @@ class FilesSharingCapabilitiesTest extends \Test\TestCase { * @param (string[])[] $map Map of arguments to return types for the getAppValue function in the mock * @return string[] */ - function getResults(array $map) { + private function getResults(array $map) { $stub = $this->getMockBuilder('\OCP\IConfig')->disableOriginalConstructor()->getMock(); $stub->method('getAppValue')->will($this->returnValueMap($map)); $cap = new Capabilities($stub); |