Fix test
This commit is contained in:
parent
ca3406c0f0
commit
5cc4d99679
1 changed files with 1 additions and 1 deletions
|
|
@ -432,7 +432,7 @@ class DefaultRoomLastMessageFormatterTest {
|
||||||
|
|
||||||
val youAcceptedKnockEvent = createRoomEvent(sentByYou = true, senderDisplayName = null, content = someoneContent)
|
val youAcceptedKnockEvent = createRoomEvent(sentByYou = true, senderDisplayName = null, content = someoneContent)
|
||||||
val youAcceptedKnock = formatter.format(youAcceptedKnockEvent, false)
|
val youAcceptedKnock = formatter.format(youAcceptedKnockEvent, false)
|
||||||
assertThat(youAcceptedKnock).isEqualTo("${someoneContent.userId} allowed you to join")
|
assertThat(youAcceptedKnock).isEqualTo("You allowed ${someoneContent.userId} to join")
|
||||||
|
|
||||||
val someoneAcceptedKnockEvent = createRoomEvent(sentByYou = false, senderDisplayName = otherName, content = someoneContent)
|
val someoneAcceptedKnockEvent = createRoomEvent(sentByYou = false, senderDisplayName = otherName, content = someoneContent)
|
||||||
val someoneAcceptedKnock = formatter.format(someoneAcceptedKnockEvent, false)
|
val someoneAcceptedKnock = formatter.format(someoneAcceptedKnockEvent, false)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue