Fix failure in handleWhatsNewGetAnswersClicked (#12682)
parent
9c1b586e45
commit
aa31eb0fa5
|
@ -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…
Reference in New Issue