diff --git a/apps/files_external/tests/Controller/StoragesControllerTest.php b/apps/files_external/tests/Controller/StoragesControllerTest.php
index 115666ed5330bd71a2f53e928f7df0b06c91b036..7dee96e3412d611a64d3294c2d5a2fccd05efc90 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;
 	}