1
0
Fork 0

Fix failure in handleWhatsNewGetAnswersClicked (#12682)

master
Tiger Oakes 2020-07-17 14:25:35 -07:00 committed by GitHub
parent 9c1b586e45
commit aa31eb0fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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