aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Mount/ObjectHomeMountProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Files/Mount/ObjectHomeMountProviderTest.php')
-rw-r--r--tests/lib/Files/Mount/ObjectHomeMountProviderTest.php14
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/lib/Files/Mount/ObjectHomeMountProviderTest.php b/tests/lib/Files/Mount/ObjectHomeMountProviderTest.php
index f787c168130..3daf82461cb 100644
--- a/tests/lib/Files/Mount/ObjectHomeMountProviderTest.php
+++ b/tests/lib/Files/Mount/ObjectHomeMountProviderTest.php
@@ -205,16 +205,12 @@ class ObjectHomeMountProviderTest extends \Test\TestCase {
public function testMultiBucketConfigFirstFallBackSingle(): void {
$this->config->expects($this->exactly(2))
- ->method('getSystemValue')
- ->withConsecutive(
- [$this->equalTo('objectstore_multibucket')],
- [$this->equalTo('objectstore')],
- )->willReturnOnConsecutiveCalls(
- '',
- [
+ ->method('getSystemValue')->willReturnMap([
+ ['objectstore_multibucket', '', ''],
+ ['objectstore', '', [
'class' => 'Test\Files\Mount\FakeObjectStore',
- ],
- );
+ ]],
+ ]);
$this->user->method('getUID')
->willReturn('uid');