aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-19 18:19:16 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-26 17:29:48 +0200
commit256a8d8903ef3a81a425f417c0eb626f42036a25 (patch)
tree23c80da6d9642671840607e147417acabdb9574c /apps/dav/tests/unit
parent1302b48ca24419649cebd8bfa0810f9517a55484 (diff)
downloadnextcloud-server-256a8d8903ef3a81a425f417c0eb626f42036a25.tar.gz
nextcloud-server-256a8d8903ef3a81a425f417c0eb626f42036a25.zip
test: Fix IStorage return types
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/dav/tests/unit')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
index fb180b7c65d..2e19aec95e8 100644
--- a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
@@ -283,8 +283,8 @@ class DirectoryTest extends \Test\TestCase {
$storage->expects($this->any())
->method('instanceOfStorage')
->willReturnMap([
- '\OCA\Files_Sharing\SharedStorage' => false,
- '\OC\Files\Storage\Wrapper\Quota' => false,
+ ['\OCA\Files_Sharing\SharedStorage', false],
+ ['\OC\Files\Storage\Wrapper\Quota', false],
]);
$storage->expects($this->once())