summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
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 'apps')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php b/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php
index d4cc00f1582..5a1a4619ead 100644
--- a/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/MaintenancePluginTest.php
@@ -53,7 +53,8 @@ class MaintenancePluginTest extends TestCase {
public function testMaintenanceMode() {
$this->config
->expects($this->exactly(1))
- ->method('getSystemValue')
+ ->method('getSystemValueBool')
+ ->with('maintenance')
->will($this->returnValue(true));
$this->maintenancePlugin->checkMaintenanceMode();