We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95446ba commit 44ef5c0Copy full SHA for 44ef5c0
apps/dav/tests/unit/Connector/Sabre/FilesPluginTest.php
@@ -327,9 +327,12 @@ public function testGetPublicPermissions(): void {
327
328
/** @var File&MockObject $node */
329
$node = $this->createTestNode(File::class);
330
- $node->expects($this->any())
331
- ->method('getDavPermissions')
332
- ->willReturn('DWCKMSR');
+ $node->expects($this->once())
+ ->method('getPublicDavPermissions')
+ ->willReturn('DWCKR');
333
+
334
+ $node->expects($this->never())
335
+ ->method('getDavPermissions');
336
337
$this->plugin->handleGetProperties(
338
$propFind,
0 commit comments