Skip to content

Commit

Permalink
Merge pull request #10713 from nextcloud/backport/10712/stable4.2
Browse files Browse the repository at this point in the history
[stable4.2] test(integration): ignore uid order in sync tests
  • Loading branch information
st3iny authored Feb 17, 2025
2 parents c424a9f + faf109e commit 922e895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/Sync/ImapToDbSynchronizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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));
}
}

0 comments on commit 922e895

Please sign in to comment.