[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
fun handleWhatsNewGetAnswersClicked() {
controller.handleWhatsNewGetAnswersClicked()
val whatsNewUrl = SupportUtils.getWhatsNewUrl(activity)
verify {
activity.openToBrowserAndLoad(
searchTermOrURL = SupportUtils.getWhatsNewUrl(activity),
searchTermOrURL = whatsNewUrl,
newTab = true,
from = BrowserDirection.FromHome
)

Loading…
Cancel
Save