mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
fix external storage controller tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
17bc35e4f1
commit
db49ae3cb6
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user