diff --git a/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/session/event/ValidDecryptedEventTest.kt b/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/session/event/ValidDecryptedEventTest.kt index 5fda242b90f..534d7ba6ad5 100644 --- a/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/session/event/ValidDecryptedEventTest.kt +++ b/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/session/event/ValidDecryptedEventTest.kt @@ -89,7 +89,7 @@ class ValidDecryptedEventTest { ).toContent() ) - val unValidatedContent = mixedEvent.getClearContent().toModel() + val unValidatedContent = mixedEvent.content.toModel() unValidatedContent?.body shouldBe "some message" mixedEvent.toValidDecryptedEvent()?.clearContent?.toModel() shouldBe null