From d0170e081e312b1f3c074c6edaaa930f59c6849a Mon Sep 17 00:00:00 2001 From: mcarare <48995920+mcarare@users.noreply.github.com> Date: Thu, 6 Apr 2023 18:48:53 +0300 Subject: [PATCH] Bug 1825071 - Remove unnecessary GleanTestRule from HomeActivity. --- app/src/test/java/org/mozilla/fenix/HomeActivityTest.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/src/test/java/org/mozilla/fenix/HomeActivityTest.kt b/app/src/test/java/org/mozilla/fenix/HomeActivityTest.kt index e6133aca2..f01ca0a40 100644 --- a/app/src/test/java/org/mozilla/fenix/HomeActivityTest.kt +++ b/app/src/test/java/org/mozilla/fenix/HomeActivityTest.kt @@ -6,12 +6,10 @@ package org.mozilla.fenix import android.content.Intent import android.os.Bundle -import androidx.test.core.app.ApplicationProvider import io.mockk.every import io.mockk.mockk import io.mockk.spyk import io.mockk.verify -import mozilla.components.service.glean.testing.GleanTestRule import mozilla.components.support.test.robolectric.testContext import mozilla.components.support.utils.toSafeIntent import org.junit.Assert.assertEquals @@ -20,7 +18,6 @@ import org.junit.Assert.assertNotEquals import org.junit.Assert.assertNull import org.junit.Assert.assertTrue import org.junit.Before -import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith import org.mozilla.fenix.HomeActivity.Companion.PRIVATE_BROWSING_MODE @@ -35,8 +32,6 @@ import org.mozilla.fenix.utils.Settings @RunWith(FenixRobolectricTestRunner::class) class HomeActivityTest { - @get:Rule val gleanTestRule = GleanTestRule(ApplicationProvider.getApplicationContext()) - private lateinit var activity: HomeActivity @Before