diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2019-02-22 11:54:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-22 11:54:20 +0100 |
commit | 2cc411862912b2e890c0d500b5ba1ce13a6013b6 (patch) | |
tree | 01c4eeb066ca058ae83bb2ea218b4c832ecc5f5c /apps/dav/tests | |
parent | 7c68e0eae7d378d73aa05361efbba835890c45c2 (diff) | |
parent | b4902369fbbbdddd80ef5043bfb3e9dbd9bf1732 (diff) | |
download | nextcloud-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.php | 3 |
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(); |