Mark functions private

This commit is contained in:
Roeland Jago Douma 2015-03-11 16:30:54 +01:00
parent e9a003fe21
commit ec31ee9117
1 changed files with 2 additions and 2 deletions

View File

@ -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);