diff options
author | Joas Schilling <coding@schilljs.com> | 2019-02-22 08:27:22 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-02-22 09:08:53 +0100 |
commit | b4902369fbbbdddd80ef5043bfb3e9dbd9bf1732 (patch) | |
tree | 08ae47a740923cec2d0e2616fee4f405aabdd440 /apps | |
parent | 0c77cd21f94dd9922e0e04ec4c7e99eff9376e07 (diff) | |
download | nextcloud-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.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(); |