diff --git a/tests/Integration/Sync/ImapToDbSynchronizerTest.php b/tests/Integration/Sync/ImapToDbSynchronizerTest.php index 0554106c3d..7ac1c7aa3e 100644 --- a/tests/Integration/Sync/ImapToDbSynchronizerTest.php +++ b/tests/Integration/Sync/ImapToDbSynchronizerTest.php @@ -94,7 +94,7 @@ public function testRepairSync(): void { ); // Assert that the cached state has been reconciled with IMAP - self::assertEquals([$uid1, $uid2], $dbMessageMapper->findAllUids($inbox)); + self::assertEqualsCanonicalizing([$uid1, $uid2], $dbMessageMapper->findAllUids($inbox)); } public function testRepairSyncNoopIfNoneVanished(): void { @@ -153,6 +153,6 @@ public function testRepairSyncNoopIfNoneVanished(): void { ); // Assert that the cached state has been reconciled with IMAP - self::assertEquals([$uid1, $uid2, $uid3], $dbMessageMapper->findAllUids($inbox)); + self::assertEqualsCanonicalizing([$uid1, $uid2, $uid3], $dbMessageMapper->findAllUids($inbox)); } }