diff options
Diffstat (limited to 'apps/files_external/tests/Command/CommandTest.php')
-rw-r--r-- | apps/files_external/tests/Command/CommandTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/tests/Command/CommandTest.php b/apps/files_external/tests/Command/CommandTest.php index 39688a2e321..2e7e377c28e 100644 --- a/apps/files_external/tests/Command/CommandTest.php +++ b/apps/files_external/tests/Command/CommandTest.php @@ -53,14 +53,14 @@ abstract class CommandTest extends TestCase { protected function bindMounts(\PHPUnit_Framework_MockObject_MockObject $mock, array $mounts) { $mock->expects($this->any()) ->method('getStorage') - ->will($this->returnCallback(function ($id) use ($mounts) { + ->willReturnCallback(function ($id) use ($mounts) { foreach ($mounts as $mount) { if ($mount->getId() === $id) { return $mount; } } throw new NotFoundException(); - })); + }); } /** |