summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2019-02-22 11:54:20 +0100
committerGitHub <noreply@github.com>2019-02-22 11:54:20 +0100
commit2cc411862912b2e890c0d500b5ba1ce13a6013b6 (patch)
tree01c4eeb066ca058ae83bb2ea218b4c832ecc5f5c /apps/dav/tests
parent7c68e0eae7d378d73aa05361efbba835890c45c2 (diff)
parentb4902369fbbbdddd80ef5043bfb3e9dbd9bf1732 (diff)
downloadnextcloud-server-2cc411862912b2e890c0d500b5ba1ce13a6013b6.tar.gz
nextcloud-server-2cc411862912b2e890c0d500b5ba1ce13a6013b6.zip
Merge pull request #14066 from nextcloud/feature/noid/casted-system-values
Get typed system values
Diffstat (limited to 'apps/dav/tests')
-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();