diff options
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(); |