File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
app/src/test/java/com/duckduckgo/app/tabs/ui Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ import com.duckduckgo.app.tabs.model.TabSwitcherData.LayoutType.GRID
37
37
import com.duckduckgo.app.tabs.model.TabSwitcherData.LayoutType.LIST
38
38
import com.duckduckgo.app.tabs.model.TabSwitcherData.UserState.EXISTING
39
39
import com.duckduckgo.app.tabs.model.TabSwitcherData.UserState.NEW
40
+ import com.duckduckgo.app.tabs.store.TabSwitcherPrefsDataStore
40
41
import com.duckduckgo.app.tabs.ui.TabSwitcherViewModel.Command
41
42
import com.duckduckgo.app.trackerdetection.api.WebTrackersBlockedAppRepository
42
43
import com.duckduckgo.common.test.CoroutineTestRule
@@ -102,6 +103,9 @@ class TabSwitcherViewModelTest {
102
103
@Mock
103
104
private lateinit var mockWebTrackersBlockedAppRepository: WebTrackersBlockedAppRepository
104
105
106
+ @Mock
107
+ private lateinit var mockTabSwitcherPrefsDataStore: TabSwitcherPrefsDataStore
108
+
105
109
private val swipingTabsFeature = FakeFeatureToggleFactory .create(SwipingTabsFeature ::class .java)
106
110
private val tabSwitcherAnimationFeature = FakeFeatureToggleFactory .create(TabSwitcherAnimationFeature ::class .java)
107
111
@@ -146,6 +150,7 @@ class TabSwitcherViewModelTest {
146
150
duckChatMock,
147
151
tabSwitcherAnimationFeature,
148
152
mockWebTrackersBlockedAppRepository,
153
+ mockTabSwitcherPrefsDataStore,
149
154
)
150
155
testee.command.observeForever(mockCommandObserver)
151
156
}
You can’t perform that action at this time.
0 commit comments