Skip to content

Commit

Permalink
fix auth koin test
Browse files Browse the repository at this point in the history
  • Loading branch information
stslex committed Jul 23, 2023
1 parent 1ae1c57 commit ad2fdc8
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package com.stslex.aproselection.feature.auth

import android.content.Context
import com.stslex.aproselection.feature.auth.di.ModuleFeatureAuth
import com.stslex.aproselection.core.network.di.ModuleCoreNetwork.moduleCoreNetwork
import com.stslex.aproselection.feature.auth.di.ModuleFeatureAuth.moduleFeatureAuth
import org.junit.Test
import org.koin.android.ext.koin.androidContext
import org.koin.dsl.koinApplication
Expand All @@ -15,7 +16,10 @@ class ModuleFeatureAuthTest : KoinTest {
fun checkKoinModules() {
koinApplication {
androidContext(Mockito.mock(Context::class.java))
modules(ModuleFeatureAuth.moduleFeatureAuth)
modules(
moduleFeatureAuth,
moduleCoreNetwork
)
checkModules()
}
}
Expand Down

0 comments on commit ad2fdc8

Please sign in to comment.