From 8ef49ee956b23fb95353e880e972cf957e7915db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolf-Martell=20Montw=C3=A9?= Date: Wed, 3 Jan 2024 11:46:09 +0100 Subject: [PATCH] Rename `containsAll` to `containsAtLeast` --- .../src/test/java/com/fsck/k9/backend/imap/ImapSyncTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/imap/src/test/java/com/fsck/k9/backend/imap/ImapSyncTest.kt b/backend/imap/src/test/java/com/fsck/k9/backend/imap/ImapSyncTest.kt index b1a9f50e0..2948a6b56 100644 --- a/backend/imap/src/test/java/com/fsck/k9/backend/imap/ImapSyncTest.kt +++ b/backend/imap/src/test/java/com/fsck/k9/backend/imap/ImapSyncTest.kt @@ -2,7 +2,7 @@ package com.fsck.k9.backend.imap import app.k9mail.backend.testing.InMemoryBackendStorage import assertk.assertThat -import assertk.assertions.containsAll +import assertk.assertions.containsAtLeast import assertk.assertions.containsExactlyInAnyOrder import assertk.assertions.isEmpty import assertk.assertions.isFalse @@ -193,7 +193,7 @@ class ImapSyncTest { imapSync.sync(FOLDER_SERVER_ID, defaultSyncConfig, syncListener) - assertThat(backendFolder.getMessageFlags(messageServerId = "2")).containsAll(Flag.SEEN, Flag.ANSWERED) + assertThat(backendFolder.getMessageFlags(messageServerId = "2")).containsAtLeast(Flag.SEEN, Flag.ANSWERED) } @Test