Skip to content

Commit 028719b

Browse files
committed
chore: Fix deprecation notice in dav application tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 609f0f0 commit 028719b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

apps/dav/tests/unit/Connector/Sabre/NodeTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,12 @@ public function testDavPermissions(int $permissions, string $type, bool $shared,
9898
->method('getRelativePath')
9999
->with(null)
100100
->willReturn('');
101+
$view
102+
->method('getAbsolutePath')
103+
->with(null)
104+
->willReturn('');
101105

102-
$node = new File($view, $info);
106+
$node = new File($view, $info);
103107
$this->assertEquals($expected, $node->getDavPermissions());
104108
}
105109

0 commit comments

Comments
 (0)