diff options
Diffstat (limited to 'apps/files_sharing/tests/CapabilitiesTest.php')
-rw-r--r-- | apps/files_sharing/tests/CapabilitiesTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/CapabilitiesTest.php b/apps/files_sharing/tests/CapabilitiesTest.php index 880921553f3..a75b474cca9 100644 --- a/apps/files_sharing/tests/CapabilitiesTest.php +++ b/apps/files_sharing/tests/CapabilitiesTest.php @@ -58,7 +58,7 @@ class CapabilitiesTest extends \Test\TestCase { */ private function getResults(array $map) { $config = $this->getMockBuilder(IConfig::class)->disableOriginalConstructor()->getMock(); - $config->method('getAppValue')->will($this->returnValueMap($map)); + $config->method('getAppValue')->willReturnMap($map); $cap = new Capabilities($config); $result = $this->getFilesSharingPart($cap->getCapabilities()); return $result; |