Add From24AuthMigrationExecutorTest tests
This commit is contained in:
@@ -3,6 +3,7 @@ package gq.kirmanak.mealient.test
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
||||
import dagger.hilt.android.testing.HiltAndroidRule
|
||||
import dagger.hilt.android.testing.HiltTestApplication
|
||||
import gq.kirmanak.mealient.logging.Logger
|
||||
import org.junit.Before
|
||||
import org.junit.Rule
|
||||
import org.junit.runner.RunWith
|
||||
@@ -15,6 +16,8 @@ abstract class HiltRobolectricTest {
|
||||
@get:Rule
|
||||
var hiltRule = HiltAndroidRule(this)
|
||||
|
||||
protected val logger: Logger = FakeLogger()
|
||||
|
||||
@Before
|
||||
fun inject() {
|
||||
hiltRule.inject()
|
||||
|
||||
Reference in New Issue
Block a user