fix: test compilation

This commit is contained in:
Valere
2026-07-23 14:57:12 +02:00
parent f22e4b3314
commit 0f43b9b79a
@@ -43,8 +43,11 @@ class RtcNotificationContentFormatterTest : RobolectricTest() {
fun `Should not display declined info in rooms`() { fun `Should not display declined info in rooms`() {
val result = formatter.format( val result = formatter.format(
CallNotifyContent( CallNotifyContent(
CallIntent.VIDEO, callIntent = CallIntent.VIDEO,
declinedBy = listOf(A_USER_ID_2, A_USER_ID_3) declinedBy = listOf(A_USER_ID_2, A_USER_ID_3),
activeMembers = emptyList(),
isJoined = false,
callStartTsMillis = 0
), ),
false false
) )
@@ -58,7 +61,10 @@ class RtcNotificationContentFormatterTest : RobolectricTest() {
val result = formatter.format( val result = formatter.format(
CallNotifyContent( CallNotifyContent(
CallIntent.VIDEO, CallIntent.VIDEO,
declinedBy = listOf(fakeMatrixClient.sessionId) declinedBy = listOf(fakeMatrixClient.sessionId),
activeMembers = listOf(A_USER_ID_2),
isJoined = false,
callStartTsMillis = 0
), ),
true true
) )
@@ -72,7 +78,10 @@ class RtcNotificationContentFormatterTest : RobolectricTest() {
val result = formatter.format( val result = formatter.format(
CallNotifyContent( CallNotifyContent(
CallIntent.VIDEO, CallIntent.VIDEO,
declinedBy = listOf(A_USER_ID_2) declinedBy = listOf(A_USER_ID_2),
activeMembers = listOf(fakeMatrixClient.sessionId),
isJoined = true,
callStartTsMillis = 0
), ),
true true
) )
@@ -86,7 +95,10 @@ class RtcNotificationContentFormatterTest : RobolectricTest() {
val result = formatter.format( val result = formatter.format(
CallNotifyContent( CallNotifyContent(
CallIntent.AUDIO, CallIntent.AUDIO,
declinedBy = listOf() declinedBy = listOf(),
activeMembers = emptyList(),
isJoined = false,
callStartTsMillis = 0
), ),
true true
) )