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.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/lib/Files/Mount/ObjectHomeMountProviderTest.php b/tests/lib/Files/Mount/ObjectHomeMountProviderTest.php
index 5dc93660d9c..7ce87140122 100644
--- a/tests/lib/Files/Mount/ObjectHomeMountProviderTest.php
+++ b/tests/lib/Files/Mount/ObjectHomeMountProviderTest.php
@@ -201,17 +201,17 @@ class ObjectHomeMountProviderTest extends \Test\TestCase {
}
public function testMultiBucketConfigFirstFallBackSingle() {
- $this->config->expects($this->at(0))
- ->method('getSystemValue')
- ->with($this->equalTo('objectstore_multibucket'))
- ->willReturn('');
-
- $this->config->expects($this->at(1))
+ $this->config->expects($this->exactly(2))
->method('getSystemValue')
- ->with($this->equalTo('objectstore'))
- ->willReturn([
- 'class' => 'Test\Files\Mount\FakeObjectStore',
- ]);
+ ->withConsecutive(
+ [$this->equalTo('objectstore_multibucket')],
+ [$this->equalTo('objectstore')],
+ )->willReturnOnConsecutiveCalls(
+ '',
+ [
+ 'class' => 'Test\Files\Mount\FakeObjectStore',
+ ],
+ );
$this->user->method('getUID')
->willReturn('uid');