diff --git a/apps/dav/tests/unit/CardDAV/Validation/CardDavValidatePluginTest.php b/apps/dav/tests/unit/CardDAV/Validation/CardDavValidatePluginTest.php index 991ef881329e7..b6652f187b89e 100644 --- a/apps/dav/tests/unit/CardDAV/Validation/CardDavValidatePluginTest.php +++ b/apps/dav/tests/unit/CardDAV/Validation/CardDavValidatePluginTest.php @@ -57,9 +57,9 @@ public function testPutSizeMoreThenLimit(): void { // construct method responses $this->config - ->method('getValueInt') - ->with('dav', 'card_size_limit', 5242880) - ->willReturn(5242880); + ->method('getValue') + ->with('dav', 'card_size_limit', '5242880') + ->willReturn('5242880'); $this->request ->method('getRawServerValue') ->with('CONTENT_LENGTH')