Fix failing test

This commit is contained in:
Florian Renaud 2022-10-26 11:26:12 +02:00
parent ec80adc8aa
commit 2f14d19130
1 changed files with 5 additions and 4 deletions

View File

@ -49,10 +49,11 @@ class StartVoiceBroadcastUseCaseTest {
private val fakeSession = FakeSession(fakeRoomService = FakeRoomService(fakeRoom)) private val fakeSession = FakeSession(fakeRoomService = FakeRoomService(fakeRoom))
private val fakeVoiceBroadcastRecorder = mockk<VoiceBroadcastRecorder>(relaxed = true) private val fakeVoiceBroadcastRecorder = mockk<VoiceBroadcastRecorder>(relaxed = true)
private val startVoiceBroadcastUseCase = StartVoiceBroadcastUseCase( private val startVoiceBroadcastUseCase = StartVoiceBroadcastUseCase(
fakeSession, session = fakeSession,
fakeVoiceBroadcastRecorder, voiceBroadcastRecorder = fakeVoiceBroadcastRecorder,
FakeContext().instance, context = FakeContext().instance,
mockk() buildMeta = mockk(),
getOngoingVoiceBroadcastsUseCase = GetOngoingVoiceBroadcastsUseCase(fakeSession),
) )
@Test @Test