Signed-off-by: Georg Ehrke <developer@georgehrke.com>
if ($this->gsConfig->isGlobalScaleEnabled()) {
return true;
}
- $result = $this->config->getAppValue('files_sharing', 'lookupServerEnabled', 'no');
+ $result = $this->config->getAppValue('files_sharing', 'lookupServerEnabled', 'yes');
return ($result === 'yes');
}
$this->gsConfig->expects($this->once())->method('isGlobalScaleEnabled')
->willReturn($gsEnabled);
$this->config->expects($this->any())->method('getAppValue')
- ->with('files_sharing', 'lookupServerEnabled', 'no')
+ ->with('files_sharing', 'lookupServerEnabled', 'yes')
->willReturn($isEnabled);
$this->assertSame($expected,