mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
Apply the RobolectricTestRunner to the BaseRobolectricTest (#1316)
This commit is contained in:
parent
5e5caa58b0
commit
b4b12f3da7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue