diff --git a/matrix-sdk-android/src/test/java/im/vector/matrix/android/api/pushrules/PushrulesConditionTest.kt b/matrix-sdk-android/src/test/java/im/vector/matrix/android/api/pushrules/PushrulesConditionTest.kt index ca3d9215..70eb658b 100644 --- a/matrix-sdk-android/src/test/java/im/vector/matrix/android/api/pushrules/PushrulesConditionTest.kt +++ b/matrix-sdk-android/src/test/java/im/vector/matrix/android/api/pushrules/PushrulesConditionTest.kt @@ -157,9 +157,9 @@ class PushrulesConditionTest { content = MessageTextContent("m.text", "A").toContent(), originServerTs = 0, roomId = "3joined").also { - Assert.assertTrue("This room has 3 members",conditionEqual3.isSatisfied(it, session)) - Assert.assertTrue("This room has 3 members",conditionEqual3Bis.isSatisfied(it, session)) - Assert.assertFalse("This room has more than 3 members",conditionLessThan3.isSatisfied(it, session)) + Assert.assertTrue("This room has 3 members", conditionEqual3.isSatisfied(it, session)) + Assert.assertTrue("This room has 3 members", conditionEqual3Bis.isSatisfied(it, session)) + Assert.assertFalse("This room has more than 3 members", conditionLessThan3.isSatisfied(it, session)) } } @@ -285,7 +285,7 @@ class PushrulesConditionTest { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. } - override fun replyToMessage(eventReplied: Event, replyText: String, autoMarkdown: Boolean): Cancelable? { + override fun replyToMessage(eventReplied: TimelineEvent, replyText: String, autoMarkdown: Boolean): Cancelable? { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. }