Fixes #8725 - Allow for async execution order
parent
3a28704fa6
commit
c270a5c6f7
|
@ -107,8 +107,8 @@ class ShareControllerTest {
|
||||||
assertEquals(appPackageName, shareIntent.captured.component!!.packageName)
|
assertEquals(appPackageName, shareIntent.captured.component!!.packageName)
|
||||||
assertEquals(appClassName, shareIntent.captured.component!!.className)
|
assertEquals(appClassName, shareIntent.captured.component!!.className)
|
||||||
|
|
||||||
|
verify { recentAppStorage.updateRecentApp(appShareOption.activityName) }
|
||||||
verifyOrder {
|
verifyOrder {
|
||||||
recentAppStorage.updateRecentApp(appShareOption.activityName)
|
|
||||||
activityContext.startActivity(shareIntent.captured)
|
activityContext.startActivity(shareIntent.captured)
|
||||||
dismiss(ShareController.Result.SUCCESS)
|
dismiss(ShareController.Result.SUCCESS)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue