[fenix] For https://github.com/mozilla-mobile/fenix/issues/28155 - Show search terms in address bar for both edit and display modes

pull/600/head
Alexandru2909 2 years ago committed by mergify[bot]
parent a341db5b61
commit 940bf3f353

@ -42,6 +42,7 @@ abstract class ToolbarIntegration(
toolbar,
store,
sessionId,
context.settings().showUnifiedSearchFeature,
ToolbarFeature.UrlRenderConfiguration(
context.components.publicSuffixList,
ThemeManager.resolveAttribute(R.attr.textPrimary, context),

@ -20,6 +20,7 @@ import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.mozilla.fenix.ext.components
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.helpers.FenixRobolectricTestRunner
import org.mozilla.fenix.utils.Settings
import mozilla.components.browser.toolbar.behavior.ToolbarPosition as MozacToolbarPosition
@ -41,6 +42,7 @@ class BrowserToolbarViewTest {
every { testContext.components.useCases } returns mockk(relaxed = true)
every { testContext.components.core } returns mockk(relaxed = true)
every { testContext.components.publicSuffixList } returns PublicSuffixList(testContext)
every { testContext.settings().showUnifiedSearchFeature } returns false
toolbarView = BrowserToolbarView(
context = testContext,

Loading…
Cancel
Save