aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-10-01 16:14:48 +0200
committerprovokateurin <kate@provokateurin.de>2024-10-07 15:00:07 +0200
commit2489608a72b51d4dd95b07bb0a21c92648544bd3 (patch)
treea7e0dbd60e90c535b90c309cd06d6d9d8ff6aabf /apps/dav/tests
parent3a9aadc6a9c52f841330b885c040e6514e52bfea (diff)
downloadnextcloud-server-2489608a72b51d4dd95b07bb0a21c92648544bd3.tar.gz
nextcloud-server-2489608a72b51d4dd95b07bb0a21c92648544bd3.zip
refactor(dav): Add Storage parameter strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
index 2e19aec95e8..3490937a543 100644
--- a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
@@ -314,6 +314,10 @@ class DirectoryTest extends \Test\TestCase {
->method('getRelativePath')
->willReturn('/foo');
+ $this->info->expects($this->once())
+ ->method('getInternalPath')
+ ->willReturn('/foo');
+
$mountPoint->method('getMountPoint')
->willReturn('/user/files/mymountpoint');
@@ -358,6 +362,10 @@ class DirectoryTest extends \Test\TestCase {
->method('getMountPoint')
->willReturn($mountPoint);
+ $this->info->expects($this->once())
+ ->method('getInternalPath')
+ ->willReturn('/foo');
+
$mountPoint->method('getMountPoint')
->willReturn('/user/files/mymountpoint');