mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 02:37:47 +01:00
Fix robolectric tests
This commit is contained in:
parent
df2b1dbeb1
commit
328f9a70d3
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ package eu.kanade.tachiyomi.data.library
|
||||||
|
|
||||||
import android.app.Application
|
import android.app.Application
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
|
import android.os.Build
|
||||||
import eu.kanade.tachiyomi.BuildConfig
|
import eu.kanade.tachiyomi.BuildConfig
|
||||||
import eu.kanade.tachiyomi.CustomRobolectricGradleTestRunner
|
import eu.kanade.tachiyomi.CustomRobolectricGradleTestRunner
|
||||||
import eu.kanade.tachiyomi.data.database.models.Chapter
|
import eu.kanade.tachiyomi.data.database.models.Chapter
|
||||||
|
@ -25,7 +26,7 @@ import uy.kohesive.injekt.api.InjektRegistrar
|
||||||
import uy.kohesive.injekt.api.addSingleton
|
import uy.kohesive.injekt.api.addSingleton
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
@Config(constants = BuildConfig::class)
|
@Config(constants = BuildConfig::class, sdk = intArrayOf(Build.VERSION_CODES.LOLLIPOP))
|
||||||
@RunWith(CustomRobolectricGradleTestRunner::class)
|
@RunWith(CustomRobolectricGradleTestRunner::class)
|
||||||
class LibraryUpdateServiceTest {
|
class LibraryUpdateServiceTest {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue