Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-03-13 17:33:47 +0300
committerRobin Appelman <robin@icewind.nl>2020-03-13 17:33:47 +0300
commitdb49ae3cb693e89a04b2b5148edf0e734ab3be5c (patch)
tree4b7558bbfcc0021ecaade297181ded3ca288903a /apps/files_external/tests
parent17bc35e4f14ba36c77c176b80dae7d3d9351f4a7 (diff)
fix external storage controller tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
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;
}