Skip to content

Commit f49ba0a

Browse files
committed
more scw tests
1 parent 837841a commit f49ba0a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

+20
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,26 @@ class SmartContractWalletTest {
8787
}
8888

8989
assertEquals(davonSCWClient.inboxId, davonSCWClient2.inboxId)
90+
assertEquals(
91+
davonSCWClient2.inboxId,
92+
runBlocking { davonSCWClient.inboxIdFromIdentity(davonSCW.publicIdentity) }
93+
)
94+
95+
runBlocking {
96+
davonSCWClient.canMessage(listOf(boEOAWallet.publicIdentity))[boEOAWallet.publicIdentity.identifier]?.let {
97+
assert(
98+
it
99+
)
100+
}
101+
}
102+
103+
runBlocking {
104+
boEOAClient.canMessage(listOf(davonSCW.publicIdentity))[davonSCW.publicIdentity.identifier]?.let {
105+
assert(
106+
it
107+
)
108+
}
109+
}
90110
}
91111

92112
@Test

0 commit comments

Comments
 (0)