commit cca90458683e9ce41961c2eea3e39e478faed1ef
parent 8c4eb2bb4c61ee8120913cfe38b6f96db8a836ce
Author: mcarare <48995920+mcarare@users.noreply.github.com>
Date: Fri, 10 Oct 2025 12:18:27 +0000
Bug 1993557 - Remove MainCoroutineRule from BrowserToolbarStoreTest. r=android-reviewers,giorga
Differential Revision: https://phabricator.services.mozilla.com/D268260
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/mobile/android/android-components/components/compose/browser-toolbar/src/test/java/mozilla/components/compose/browser/toolbar/store/BrowserToolbarStoreTest.kt b/mobile/android/android-components/components/compose/browser-toolbar/src/test/java/mozilla/components/compose/browser/toolbar/store/BrowserToolbarStoreTest.kt
@@ -17,10 +17,8 @@ import mozilla.components.compose.browser.toolbar.store.BrowserToolbarAction.Too
import mozilla.components.compose.browser.toolbar.store.BrowserToolbarInteraction.BrowserToolbarEvent
import mozilla.components.compose.browser.toolbar.store.ToolbarGravity.Bottom
import mozilla.components.compose.browser.toolbar.store.ToolbarGravity.Top
-import mozilla.components.support.test.rule.MainCoroutineRule
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
-import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import kotlin.random.Random
@@ -28,9 +26,6 @@ import kotlin.random.Random
@RunWith(AndroidJUnit4::class)
class BrowserToolbarStoreTest {
- @get:Rule
- val coroutineTestRule = MainCoroutineRule()
-
@Test
fun `WHEN enter edit mode action is dispatched THEN mode is updated and query remains unchanged`() {
val store = BrowserToolbarStore()