diff --git a/app/src/test/java/com/duckduckgo/app/browser/BrowserViewModelTest.kt b/app/src/test/java/com/duckduckgo/app/browser/BrowserViewModelTest.kt index 47d80013a0cb..836fb0c1c20f 100644 --- a/app/src/test/java/com/duckduckgo/app/browser/BrowserViewModelTest.kt +++ b/app/src/test/java/com/duckduckgo/app/browser/BrowserViewModelTest.kt @@ -19,10 +19,7 @@ package com.duckduckgo.app.browser import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Observer -import androidx.lifecycle.asFlow -import app.cash.turbine.test import com.duckduckgo.app.browser.BrowserViewModel.Command -import com.duckduckgo.app.browser.BrowserViewModel.ViewState import com.duckduckgo.app.browser.defaultbrowsing.DefaultBrowserDetector import com.duckduckgo.app.browser.omnibar.OmnibarEntryConverter import com.duckduckgo.app.fire.DataClearer @@ -44,7 +41,6 @@ import kotlinx.coroutines.flow.flowOf import kotlinx.coroutines.test.runTest import org.junit.After import org.junit.Assert.assertEquals -import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Rule @@ -52,11 +48,12 @@ import org.junit.Test import org.mockito.Mock import org.mockito.MockitoAnnotations import org.mockito.kotlin.* -import org.mockito.verification.VerificationMode class BrowserViewModelTest { - @get:Rule @Suppress("unused") var instantTaskExecutorRule = InstantTaskExecutorRule() + @get:Rule + @Suppress("unused") + var instantTaskExecutorRule = InstantTaskExecutorRule() @get:Rule var coroutinesTestRule = CoroutineTestRule()