Skip to content

Commit

Permalink
fix(carddav): limit vcard size
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
  • Loading branch information
SebastianKrupinski committed Jul 4, 2024
1 parent 041d096 commit 4d3e97f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 4d3e97f

Please sign in to comment.