summaryrefslogtreecommitdiffstats
path: root/tests/lib/GlobalScale/ConfigTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/GlobalScale/ConfigTest.php')
-rw-r--r--tests/lib/GlobalScale/ConfigTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/GlobalScale/ConfigTest.php b/tests/lib/GlobalScale/ConfigTest.php
index e67cb392d64..826a57a2b30 100644
--- a/tests/lib/GlobalScale/ConfigTest.php
+++ b/tests/lib/GlobalScale/ConfigTest.php
@@ -52,7 +52,7 @@ class ConfigTest extends TestCase {
public function testIsGlobalScaleEnabled() {
$gsConfig = $this->getInstance();
- $this->config->expects($this->once())->method('getSystemValue')
+ $this->config->expects($this->once())->method('getSystemValueBool')
->with('gs.enabled', false)->willReturn(true);
$result = $gsConfig->isGlobalScaleEnabled();
@@ -73,7 +73,7 @@ class ConfigTest extends TestCase {
$gsConfig->expects($this->any())->method('isGlobalScaleEnabled')->willReturn($gsEnabled);
- $this->config->expects($this->any())->method('getSystemValue')
+ $this->config->expects($this->any())->method('getSystemValueString')
->with('gs.federation', 'internal')->willReturn($gsFederation);
$this->assertSame($expected, $gsConfig->onlyInternalFederation());