diff options
Diffstat (limited to 'apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php')
-rw-r--r-- | apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php b/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php index 852a22564c3..77646b2c9d1 100644 --- a/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php +++ b/apps/dav/tests/unit/Files/Sharing/FilesDropPluginTest.php @@ -122,13 +122,13 @@ class FilesDropPluginTest extends TestCase { ->willReturn('https://example.com'); $this->view->method('file_exists') - ->will($this->returnCallback(function($path) { + ->willReturnCallback(function($path) { if ($path === 'file.txt' || $path === '/file.txt') { return true; } else { return false; } - })); + }); $this->request->expects($this->once()) ->method('setUrl') @@ -163,13 +163,13 @@ class FilesDropPluginTest extends TestCase { ->willReturn('https://example.com'); $this->view->method('file_exists') - ->will($this->returnCallback(function($path) { + ->willReturnCallback(function($path) { if ($path === 'file.txt' || $path === '/file.txt') { return true; } else { return false; } - })); + }); $this->request->expects($this->once()) ->method('setUrl') |