Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Dec 13, 2024
1 parent 943c9b1 commit 46aeca9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ class GroupTest {

assertEquals(alixGroup.messages().size, 1)
assertEquals(alixGroup2.messages().size, 1)
assertEquals(numGroups, 3u)
assertEquals(numGroups, 2u)

runBlocking {
boGroup2.removeMembers(listOf(alix.walletAddress))
Expand All @@ -939,12 +939,12 @@ class GroupTest {
assertEquals(alixGroup.messages().size, 3)
assertEquals(alixGroup2.messages().size, 2)
// First syncAllGroups after remove includes the group you're removed from
assertEquals(numGroups, 3u)
assertEquals(numGroups, 2u)

runBlocking {
numGroups = alixClient.conversations.syncAllConversations()
}
// Next syncAllGroups will not include the inactive group
assertEquals(numGroups, 2u)
assertEquals(numGroups, 1u)
}
}

0 comments on commit 46aeca9

Please sign in to comment.