Fix tests

This commit is contained in:
len 2016-11-05 19:41:52 +01:00
parent 10a1ba95d6
commit c64d8c8b6b

View File

@ -1,10 +1,10 @@
package eu.kanade.tachiyomi package eu.kanade.tachiyomi
import org.robolectric.RobolectricGradleTestRunner import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config import org.robolectric.annotation.Config
import org.robolectric.manifest.AndroidManifest import org.robolectric.manifest.AndroidManifest
class CustomRobolectricGradleTestRunner(klass: Class<*>) : RobolectricGradleTestRunner(klass) { class CustomRobolectricGradleTestRunner(klass: Class<*>) : RobolectricTestRunner(klass) {
override fun getAppManifest(config: Config): AndroidManifest { override fun getAppManifest(config: Config): AndroidManifest {
return super.getAppManifest(config).apply { packageName = "eu.kanade.tachiyomi" } return super.getAppManifest(config).apply { packageName = "eu.kanade.tachiyomi" }