diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-03-30 14:50:09 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-03 10:52:35 +0200 |
commit | 8f26a5d766afb5b95f522e059ac9327a8d8eddcd (patch) | |
tree | d5af1c55ebf5bedd91d2da23da05777e67f21f9c /apps/dav | |
parent | 5ad045619c0d4010ecf30c1c4fe1e1275e9ab094 (diff) | |
download | nextcloud-server-8f26a5d766afb5b95f522e059ac9327a8d8eddcd.tar.gz nextcloud-server-8f26a5d766afb5b95f522e059ac9327a8d8eddcd.zip |
Fix dav application tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php index d219888ef15..8d6bfc1764b 100644 --- a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php @@ -62,8 +62,7 @@ class ObjectTreeTest extends \Test\TestCase { $view = $this->createMock(View::class); $view->expects($this->once()) ->method('verifyPath') - ->with($targetParent) - ->willReturn(true); + ->with($targetParent); $view->expects($this->once()) ->method('file_exists') ->with($targetPath) |