summaryrefslogtreecommitdiffstats
path: root/tests/Core/Command/Maintenance
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-02-22 08:27:22 +0100
committerJoas Schilling <coding@schilljs.com>2019-02-22 09:08:53 +0100
commitb4902369fbbbdddd80ef5043bfb3e9dbd9bf1732 (patch)
tree08ae47a740923cec2d0e2616fee4f405aabdd440 /tests/Core/Command/Maintenance
parent0c77cd21f94dd9922e0e04ec4c7e99eff9376e07 (diff)
downloadnextcloud-server-b4902369fbbbdddd80ef5043bfb3e9dbd9bf1732.tar.gz
nextcloud-server-b4902369fbbbdddd80ef5043bfb3e9dbd9bf1732.zip
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/Core/Command/Maintenance')
-rw-r--r--tests/Core/Command/Maintenance/ModeTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Command/Maintenance/ModeTest.php b/tests/Core/Command/Maintenance/ModeTest.php
index da5e95998e9..895a06bbec1 100644
--- a/tests/Core/Command/Maintenance/ModeTest.php
+++ b/tests/Core/Command/Maintenance/ModeTest.php
@@ -123,7 +123,7 @@ class ModeTest extends TestCase {
string $expectedOutput
) {
$this->config->expects($this->any())
- ->method('getSystemValue')
+ ->method('getSystemValueBool')
->willReturn($currentMaintenanceState);
if ($expectedMaintenanceState !== null) {