From a037e0ce4bca44a42109773438c3dd3ebd88ba2b Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Thu, 19 Dec 2024 20:34:15 -0800 Subject: [PATCH] bump proto and fix test --- library/build.gradle | 2 +- .../java/org/xmtp/android/library/ConversationsTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/build.gradle b/library/build.gradle index e8a4de20..751b8f12 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -89,7 +89,7 @@ dependencies { implementation 'org.web3j:crypto:4.9.4' implementation "net.java.dev.jna:jna:5.14.0@aar" api 'com.google.protobuf:protobuf-kotlin-lite:3.22.3' - api 'org.xmtp:proto-kotlin:3.72.3' + api 'org.xmtp:proto-kotlin:3.72.4' testImplementation 'junit:junit:4.13.2' testImplementation 'androidx.test:monitor:1.7.2' diff --git a/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt b/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt index 84b0e37a..26db11c7 100644 --- a/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt +++ b/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt @@ -116,7 +116,7 @@ class ConversationsTest { runBlocking { boClient.conversations.findOrCreateDm(caro.walletAddress) } val group = runBlocking { boClient.conversations.newGroup(listOf(caro.walletAddress)) } - assertEquals(runBlocking { boClient.conversations.syncAllConversations() }.toInt(), 2) + assertEquals(runBlocking { boClient.conversations.syncAllConversations() }.toInt(), 3) assertEquals( runBlocking { boClient.conversations.syncAllConversations(consentState = ConsentState.ALLOWED) }.toInt(), 2