You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vector/src/test/java/im/vector/app/features/voicebroadcast/usecase/GetVoiceBroadcastStateEventUseCaseTest.kt
+18-32Lines changed: 18 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -53,25 +53,10 @@ internal class GetVoiceBroadcastStateEventUseCaseTest {
53
53
fun`given there are several related events related to the given vb, when execute, then return the most recent one`() {
54
54
// Given
55
55
val aVoiceBroadcast =VoiceBroadcast(A_VOICE_BROADCAST_ID, A_ROOM_ID)
56
-
val aListOfTimelineEvents = listOf<TimelineEvent>(
57
-
mockk(relaxed =true) {
58
-
every { root.eventId } returns "event_id_1"
59
-
every { root.type } returns VoiceBroadcastConstants.STATE_ROOM_VOICE_BROADCAST_INFO
60
-
every { root.isRedacted() } returns false
61
-
every { root.originServerTs } returns 1L
62
-
},
63
-
mockk(relaxed =true) {
64
-
every { root.eventId } returns "event_id_3"
65
-
every { root.type } returns VoiceBroadcastConstants.STATE_ROOM_VOICE_BROADCAST_INFO
66
-
every { root.isRedacted() } returns false
67
-
every { root.originServerTs } returns 3L
68
-
},
69
-
mockk(relaxed =true) {
70
-
every { root.eventId } returns "event_id_2"
71
-
every { root.type } returns VoiceBroadcastConstants.STATE_ROOM_VOICE_BROADCAST_INFO
0 commit comments