Fix dav application tests

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2023-03-30 14:50:09 +02:00
parent 5ad045619c
commit 8f26a5d766
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -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)