For #28155 - Show search terms in address bar for both edit and display modes
This commit is contained in:
parent
96ed5ecc0d
commit
52b4a1ebfa
|
@ -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…
Reference in New Issue