diff --git a/app/src/test/java/org/mozilla/fenix/share/ShareControllerTest.kt b/app/src/test/java/org/mozilla/fenix/share/ShareControllerTest.kt index 83686fb98..cc01aae65 100644 --- a/app/src/test/java/org/mozilla/fenix/share/ShareControllerTest.kt +++ b/app/src/test/java/org/mozilla/fenix/share/ShareControllerTest.kt @@ -107,8 +107,8 @@ class ShareControllerTest { assertEquals(appPackageName, shareIntent.captured.component!!.packageName) assertEquals(appClassName, shareIntent.captured.component!!.className) + verify { recentAppStorage.updateRecentApp(appShareOption.activityName) } verifyOrder { - recentAppStorage.updateRecentApp(appShareOption.activityName) activityContext.startActivity(shareIntent.captured) dismiss(ShareController.Result.SUCCESS) }