@@ -289,7 +289,7 @@ import com.duckduckgo.savedsites.api.models.SavedSite.Favorite
289289import com.duckduckgo.savedsites.impl.SavedSitesPixelName
290290import com.duckduckgo.serp.logos.api.SerpEasterEggLogosToggles
291291import com.duckduckgo.serp.logos.api.SerpLogo
292- import com.duckduckgo.settings.api.SettingsPageFeature
292+ import com.duckduckgo.settings.api.SerpSettingsFeature
293293import com.duckduckgo.site.permissions.api.SitePermissionsManager
294294import com.duckduckgo.site.permissions.api.SitePermissionsManager.LocationPermissionRequest
295295import com.duckduckgo.site.permissions.api.SitePermissionsManager.SitePermissionQueryResponse
@@ -626,7 +626,7 @@ class BrowserTabViewModelTest {
626626 private val mockDuckAiFullScreenModeEnabled = MutableStateFlow (false )
627627
628628 private lateinit var fakeContentScopeScriptsSubscriptionEventPluginPoint: FakeContentScopeScriptsSubscriptionEventPluginPoint
629- private var fakeSettingsPageFeature = FakeFeatureToggleFactory .create(SettingsPageFeature ::class .java)
629+ private var serpSettingsFeature = FakeFeatureToggleFactory .create(SerpSettingsFeature ::class .java)
630630
631631 @Before
632632 fun before () =
@@ -864,7 +864,7 @@ class BrowserTabViewModelTest {
864864 autoconsentPixelManager = mockAutoconsentPixelManager,
865865 omnibarRepository = mockOmnibarFeatureRepository,
866866 contentScopeScriptsSubscriptionEventPluginPoint = fakeContentScopeScriptsSubscriptionEventPluginPoint,
867- settingsPageFeature = fakeSettingsPageFeature ,
867+ serpSettingsFeature = serpSettingsFeature ,
868868 )
869869
870870 testee.loadData(" abc" , null , false , false )
@@ -7924,7 +7924,7 @@ class BrowserTabViewModelTest {
79247924
79257925 @Test
79267926 fun whenOnViewResumedWithNoPluginsThenNoSubscriptionEventsSent () = runTest {
7927- fakeSettingsPageFeature.serpSettingsSync ().setRawStoredState(State (enable = true ))
7927+ serpSettingsFeature.storeSerpSettings ().setRawStoredState(State (enable = true ))
79287928
79297929 testee.onViewResumed()
79307930
@@ -7936,7 +7936,7 @@ class BrowserTabViewModelTest {
79367936
79377937 @Test
79387938 fun whenOnViewResumedWithPluginsThenSubscriptionEventsSent () = runTest {
7939- fakeSettingsPageFeature.serpSettingsSync ().setRawStoredState(State (enable = true ))
7939+ serpSettingsFeature.storeSerpSettings ().setRawStoredState(State (enable = true ))
79407940 val events = mutableListOf<SubscriptionEventData >().apply {
79417941 add(
79427942 SubscriptionEventData (
@@ -7973,7 +7973,7 @@ class BrowserTabViewModelTest {
79737973
79747974 @Test
79757975 fun whenOnViewResumedWithPluginsAndSerpSettingsFeatureFlagOffThenNoEventsSent () = runTest {
7976- fakeSettingsPageFeature.serpSettingsSync ().setRawStoredState(State (enable = false ))
7976+ serpSettingsFeature.storeSerpSettings ().setRawStoredState(State (enable = false ))
79777977 val events = mutableListOf<SubscriptionEventData >().apply {
79787978 add(
79797979 SubscriptionEventData (
0 commit comments