mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-28 09:59:29 +01:00
Fix test. getClearContent()
return the decrypted content for encrypted Event, and it is null in this case
This commit is contained in:
parent
ec96f4e0ae
commit
7dc8c436cf
@ -89,7 +89,7 @@ class ValidDecryptedEventTest {
|
||||
).toContent()
|
||||
)
|
||||
|
||||
val unValidatedContent = mixedEvent.getClearContent().toModel<MessageTextContent>()
|
||||
val unValidatedContent = mixedEvent.content.toModel<MessageTextContent>()
|
||||
unValidatedContent?.body shouldBe "some message"
|
||||
|
||||
mixedEvent.toValidDecryptedEvent()?.clearContent?.toModel<MessageTextContent>() shouldBe null
|
||||
|
Loading…
x
Reference in New Issue
Block a user