Fix robolectric tests

This commit is contained in:
len 2016-07-30 16:25:23 +02:00
parent df2b1dbeb1
commit 328f9a70d3

View file

@ -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 {