Fix dav application tests

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/36836/head
Côme Chilliet 2023-03-30 14:50:09 +07:00
parent 5ad045619c
commit 8f26a5d766
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
1 changed files with 1 additions and 2 deletions

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