diff --git a/tests/Integration/MailboxSynchronizationTest.php b/tests/Integration/MailboxSynchronizationTest.php index 3af1aaa8cd..b520f634b2 100644 --- a/tests/Integration/MailboxSynchronizationTest.php +++ b/tests/Integration/MailboxSynchronizationTest.php @@ -93,7 +93,8 @@ public function testSyncEmptyMailbox() { $jsonResponse = $this->foldersController->sync( $inbox->getId(), - [] + [], + null ); $data = $jsonResponse->getData()->jsonSerialize(); @@ -136,7 +137,8 @@ public function testSyncNewMessage() { $jsonResponse = $this->foldersController->sync( $inbox->getId(), - [] + [], + null ); $syncJson = $jsonResponse->getData()->jsonSerialize(); @@ -181,7 +183,8 @@ public function testSyncChangedMessage() { $inbox->getId(), [ $id - ]); + ], + null); $syncJson = $jsonResponse->getData()->jsonSerialize(); self::assertCount(0, $syncJson['newMessages']); @@ -222,7 +225,8 @@ public function testSyncVanishedMessage() { $inbox->getId(), [ $uid // This will only work if UID and database ID are equal (1 on a clean setup), otherwise this fails - ]); + ], + null); $syncJson = $jsonResponse->getData()->jsonSerialize(); self::assertCount(0, $syncJson['newMessages']);