[fenix] Fix failure in handleWhatsNewGetAnswersClicked (https://github.com/mozilla-mobile/fenix/pull/12682)

pull/600/head
Tiger Oakes 4 years ago committed by GitHub
parent 3823c632ac
commit 5c9876dcff

@ -292,9 +292,10 @@ class DefaultSessionControlControllerTest {
@Test @Test
fun handleWhatsNewGetAnswersClicked() { fun handleWhatsNewGetAnswersClicked() {
controller.handleWhatsNewGetAnswersClicked() controller.handleWhatsNewGetAnswersClicked()
val whatsNewUrl = SupportUtils.getWhatsNewUrl(activity)
verify { verify {
activity.openToBrowserAndLoad( activity.openToBrowserAndLoad(
searchTermOrURL = SupportUtils.getWhatsNewUrl(activity), searchTermOrURL = whatsNewUrl,
newTab = true, newTab = true,
from = BrowserDirection.FromHome from = BrowserDirection.FromHome
) )

Loading…
Cancel
Save