Skip to content

Commit 46a433d

Browse files
committed
fix the test
1 parent e6e9597 commit 46a433d

File tree

1 file changed

+1
-1
lines changed
  • library/src/androidTest/java/org/xmtp/android/library

1 file changed

+1
-1
lines changed

library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,14 +333,14 @@ class GroupTest {
333333
val messageId = runBlocking { group.send("gm") }
334334
runBlocking { group.sync() }
335335
assertEquals(group.messages().first().body, "gm")
336+
assertEquals(group.messages().first().id, messageId)
336337
assertEquals(group.messages().size, 3)
337338

338339
runBlocking { alixClient.conversations.syncGroups() }
339340
val sameGroup = runBlocking { alixClient.conversations.listGroups().last() }
340341
runBlocking { sameGroup.sync() }
341342
assertEquals(sameGroup.messages().size, 2)
342343
assertEquals(sameGroup.messages().first().body, "gm")
343-
assertEquals(sameGroup.messages().first().id, messageId)
344344
}
345345

346346
@Test

0 commit comments

Comments
 (0)