mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
fix: test compilation
This commit is contained in:
+17
-5
@@ -43,8 +43,11 @@ class RtcNotificationContentFormatterTest : RobolectricTest() {
|
||||
fun `Should not display declined info in rooms`() {
|
||||
val result = formatter.format(
|
||||
CallNotifyContent(
|
||||
CallIntent.VIDEO,
|
||||
declinedBy = listOf(A_USER_ID_2, A_USER_ID_3)
|
||||
callIntent = CallIntent.VIDEO,
|
||||
declinedBy = listOf(A_USER_ID_2, A_USER_ID_3),
|
||||
activeMembers = emptyList(),
|
||||
isJoined = false,
|
||||
callStartTsMillis = 0
|
||||
),
|
||||
false
|
||||
)
|
||||
@@ -58,7 +61,10 @@ class RtcNotificationContentFormatterTest : RobolectricTest() {
|
||||
val result = formatter.format(
|
||||
CallNotifyContent(
|
||||
CallIntent.VIDEO,
|
||||
declinedBy = listOf(fakeMatrixClient.sessionId)
|
||||
declinedBy = listOf(fakeMatrixClient.sessionId),
|
||||
activeMembers = listOf(A_USER_ID_2),
|
||||
isJoined = false,
|
||||
callStartTsMillis = 0
|
||||
),
|
||||
true
|
||||
)
|
||||
@@ -72,7 +78,10 @@ class RtcNotificationContentFormatterTest : RobolectricTest() {
|
||||
val result = formatter.format(
|
||||
CallNotifyContent(
|
||||
CallIntent.VIDEO,
|
||||
declinedBy = listOf(A_USER_ID_2)
|
||||
declinedBy = listOf(A_USER_ID_2),
|
||||
activeMembers = listOf(fakeMatrixClient.sessionId),
|
||||
isJoined = true,
|
||||
callStartTsMillis = 0
|
||||
),
|
||||
true
|
||||
)
|
||||
@@ -86,7 +95,10 @@ class RtcNotificationContentFormatterTest : RobolectricTest() {
|
||||
val result = formatter.format(
|
||||
CallNotifyContent(
|
||||
CallIntent.AUDIO,
|
||||
declinedBy = listOf()
|
||||
declinedBy = listOf(),
|
||||
activeMembers = emptyList(),
|
||||
isJoined = false,
|
||||
callStartTsMillis = 0
|
||||
),
|
||||
true
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user