Apply the RobolectricTestRunner to the BaseRobolectricTest (#1316)

This commit is contained in:
David Perez 2024-04-29 11:46:49 -05:00 committed by Álison Fernandes
parent 5e5caa58b0
commit b4b12f3da7

View file

@ -1,8 +1,8 @@
package com.x8bit.bitwarden.ui.platform.base
import androidx.test.ext.junit.runners.AndroidJUnit4
import dagger.hilt.android.testing.HiltTestApplication
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
import org.robolectric.shadows.ShadowLog
@ -13,7 +13,7 @@ import org.robolectric.shadows.ShadowLog
application = HiltTestApplication::class,
sdk = [Config.NEWEST_SDK],
)
@RunWith(AndroidJUnit4::class)
@RunWith(RobolectricTestRunner::class)
abstract class BaseRobolectricTest {
init {
ShadowLog.stream = System.out