diff options
author | Robin Appelman <robin@icewind.nl> | 2020-03-13 17:33:47 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-03-13 17:33:47 +0300 |
commit | db49ae3cb693e89a04b2b5148edf0e734ab3be5c (patch) | |
tree | 4b7558bbfcc0021ecaade297181ded3ca288903a /apps/files_external/tests | |
parent | 17bc35e4f14ba36c77c176b80dae7d3d9351f4a7 (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.php | 4 |
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; } |