Browse Source

Merge pull request #19931 from nextcloud/external-storage-password-placeholders-fix-tests

fix external storage controller tests
pull/19947/head
Robin Appelman 6 years ago
committed by GitHub
parent
commit
12e54047a1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/files_external/tests/Controller/StoragesControllerTest.php

4
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;
}

Loading…
Cancel
Save