From 7d246d2134f527ab7023c2d76b58be24b1c5b20c Mon Sep 17 00:00:00 2001 From: mcarare <48995920+mcarare@users.noreply.github.com> Date: Thu, 8 Jun 2023 20:40:35 +0300 Subject: [PATCH] Bug 1840791 - Remove unused GleanTestRule. --- .../org/mozilla/fenix/tabstray/TabLayoutObserverTest.kt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/src/test/java/org/mozilla/fenix/tabstray/TabLayoutObserverTest.kt b/app/src/test/java/org/mozilla/fenix/tabstray/TabLayoutObserverTest.kt index 39b615c62c..ff8c84f273 100644 --- a/app/src/test/java/org/mozilla/fenix/tabstray/TabLayoutObserverTest.kt +++ b/app/src/test/java/org/mozilla/fenix/tabstray/TabLayoutObserverTest.kt @@ -8,25 +8,16 @@ import com.google.android.material.tabs.TabLayout import io.mockk.every import io.mockk.mockk import io.mockk.verify -import mozilla.components.service.glean.testing.GleanTestRule import mozilla.components.support.test.libstate.ext.waitUntilIdle import mozilla.components.support.test.middleware.CaptureActionsMiddleware -import mozilla.components.support.test.robolectric.testContext import org.junit.Before -import org.junit.Rule import org.junit.Test -import org.junit.runner.RunWith -import org.mozilla.fenix.helpers.FenixRobolectricTestRunner -@RunWith(FenixRobolectricTestRunner::class) // for gleanTestRule class TabLayoutObserverTest { private val interactor = mockk(relaxed = true) private lateinit var store: TabsTrayStore private val middleware = CaptureActionsMiddleware() - @get:Rule - val gleanTestRule = GleanTestRule(testContext) - @Before fun setup() { store = TabsTrayStore(middlewares = listOf(middleware))