Bug 1826590 - Use gleanTestRule as RuleChain outerRule.

fenix/116.0
mcarare 1 year ago committed by mergify[bot]
parent 21935b07b6
commit 06df2f61fc

@ -106,11 +106,10 @@ class DefaultTabsTrayControllerTest {
private val coroutinesTestRule: MainCoroutineRule = MainCoroutineRule()
private val testDispatcher = coroutinesTestRule.testDispatcher
@get:Rule
val gleanTestRule = GleanTestRule(testContext)
@get:Rule
val chain: RuleChain = RuleChain.outerRule(coroutinesTestRule).around(gleanTestRule)
val chain: RuleChain = RuleChain.outerRule(gleanTestRule).around(coroutinesTestRule)
@Before
fun setup() {

@ -47,7 +47,7 @@ class NavigationInteractorTest {
val gleanTestRule = GleanTestRule(testContext)
@get:Rule
val chain: RuleChain = RuleChain.outerRule(coroutinesTestRule).around(gleanTestRule)
val chain: RuleChain = RuleChain.outerRule(gleanTestRule).around(coroutinesTestRule)
@Before
fun setup() {

Loading…
Cancel
Save