From db49ae3cb693e89a04b2b5148edf0e734ab3be5c Mon Sep 17 00:00:00 2001 From: Robin Appelman <robin@icewind.nl> Date: Fri, 13 Mar 2020 15:33:47 +0100 Subject: [PATCH] fix external storage controller tests Signed-off-by: Robin Appelman <robin@icewind.nl> --- .../tests/Controller/StoragesControllerTest.php | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- GitLab