summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests')
-rw-r--r--apps/files_external/tests/Controller/StoragesControllerTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/tests/Controller/StoragesControllerTest.php b/apps/files_external/tests/Controller/StoragesControllerTest.php
index 115666ed533..7dee96e3412 100644
--- a/apps/files_external/tests/Controller/StoragesControllerTest.php
+++ b/apps/files_external/tests/Controller/StoragesControllerTest.php
@@ -66,6 +66,8 @@ abstract class StoragesControllerTest extends \Test\TestCase {
->willReturn($storageClass);
$backend->method('getIdentifier')
->willReturn('identifier:'.$class);
+ $backend->method('getParameters')
+ ->willReturn([]);
return $backend;
}
@@ -80,6 +82,8 @@ abstract class StoragesControllerTest extends \Test\TestCase {
->willReturn($scheme);
$authMech->method('getIdentifier')
->willReturn('identifier:'.$class);
+ $authMech->method('getParameters')
+ ->willReturn([]);
return $authMech;
}