Skip to content

Commit

Permalink
fix: adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreferris committed Feb 15, 2024
1 parent cb1a05b commit 0e4dab6
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/
package com.wire.android.ui.home.sync

import android.content.Context
import com.wire.android.config.CoroutineTestExtension
import com.wire.android.config.TestDispatcherProvider
import com.wire.android.datastore.GlobalDataStore
Expand Down Expand Up @@ -300,6 +301,9 @@ class FeatureFlagNotificationViewModelTest {

private inner class Arrangement {

@MockK
lateinit var context: Context

@MockK
lateinit var currentSessionFlow: CurrentSessionFlowUseCase

Expand Down Expand Up @@ -333,7 +337,8 @@ class FeatureFlagNotificationViewModelTest {
currentSessionFlow = currentSessionFlow,
globalDataStore = globalDataStore,
disableAppLockUseCase = disableAppLockUseCase,
dispatcherProvider = TestDispatcherProvider()
dispatcherProvider = TestDispatcherProvider(),
applicationContext = context
)
}
init {
Expand Down

0 comments on commit 0e4dab6

Please sign in to comment.