Fix failure in handleWhatsNewGetAnswersClicked (#12682)

releases/v79.1.0
Tiger Oakes 4 years ago committed by GitHub
parent 9c1b586e45
commit aa31eb0fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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