aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-03-13 18:44:43 +0000
committerGitHub <noreply@github.com>2020-03-13 18:44:43 +0000
commit12e54047a14ffb684e6a305f6e8ef5fc747abf51 (patch)
tree75942b43ff9d502e7c411c5b31daa0f6e2d5600a
parentdc0ee357a42763738cb13d368b25c1b94619cbca (diff)
parentdb49ae3cb693e89a04b2b5148edf0e734ab3be5c (diff)
downloadnextcloud-server-12e54047a14ffb684e6a305f6e8ef5fc747abf51.tar.gz
nextcloud-server-12e54047a14ffb684e6a305f6e8ef5fc747abf51.zip
Merge pull request #19931 from nextcloud/external-storage-password-placeholders-fix-tests
fix external storage controller 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;
}