From 507a06c985b00a897a1c90d80070bd5488b422ef Mon Sep 17 00:00:00 2001 From: hamza221 Date: Wed, 8 Nov 2023 21:24:11 +0100 Subject: [PATCH] fixup! add sorting capabilities to mail Signed-off-by: hamza221 --- tests/Integration/MailboxSynchronizationTest.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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']);