summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/Command/ApplicableTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/Command/ApplicableTest.php')
-rw-r--r--apps/files_external/tests/Command/ApplicableTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/tests/Command/ApplicableTest.php b/apps/files_external/tests/Command/ApplicableTest.php
index 3b889ceaa78..49fae6e0013 100644
--- a/apps/files_external/tests/Command/ApplicableTest.php
+++ b/apps/files_external/tests/Command/ApplicableTest.php
@@ -36,11 +36,11 @@ class ApplicableTest extends CommandTest {
$userManager->expects($this->any())
->method('userExists')
- ->will($this->returnValue(true));
+ ->willReturn(true);
$groupManager->expects($this->any())
->method('groupExists')
- ->will($this->returnValue(true));
+ ->willReturn(true);
return new Applicable($storageService, $userManager, $groupManager);
}