tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit ee22a4cf3c80c1e80f92b1ed210d58e6cfe83aca
parent 42c84755a1566d0d2a08c0ae287d723550c67b85
Author: Florian Meyer <teaschuldorf@gmail.com>
Date:   Mon, 10 Nov 2025 15:04:59 +0000

Bug 1896192 - fix password navigation test. r=pollymce,android-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D271622

Diffstat:
Mmobile/android/fenix/app/src/test/java/org/mozilla/fenix/home/intent/OpenPasswordManagerIntentProcessorTest.kt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mobile/android/fenix/app/src/test/java/org/mozilla/fenix/home/intent/OpenPasswordManagerIntentProcessorTest.kt b/mobile/android/fenix/app/src/test/java/org/mozilla/fenix/home/intent/OpenPasswordManagerIntentProcessorTest.kt @@ -63,7 +63,7 @@ class OpenPasswordManagerIntentProcessorTest { } @Test - fun `GIVEN an intent with correct action and extra boolean WHEN it is processed THEN navigate should be called`() { + fun `GIVEN an intent with correct action and extra boolean WHEN it is processed THEN navigates to password list fragment`() { val intent = Intent().apply { action = PasswordManagerIntentProcessor.Companion.ACTION_OPEN_PASSWORD_MANAGER putExtra(HomeActivity.OPEN_PASSWORD_MANAGER, true) @@ -71,7 +71,7 @@ class OpenPasswordManagerIntentProcessorTest { assertTrue(processor.process(intent, navController, out, settings)) - verify { navController.navigate(NavGraphDirections.actionGlobalSavedLoginsAuthFragment(), null) } + verify { navController.navigate(NavGraphDirections.actionLoginsListFragment(), null) } verify { out.removeExtra(HomeActivity.OPEN_PASSWORD_MANAGER) } }