mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
* Fixes #3923 * Handled possible missing backpress cases in MainActivity-nearby * Fixes #3923 * Handled possible missing backpress cases in MainActivity-nearby
This commit is contained in:
parent
6e8e4f7a41
commit
b8ba89d077
5 changed files with 15 additions and 14 deletions
|
|
@ -374,8 +374,8 @@ class NearbyParentFragmentPresenterTest {
|
|||
fun testBackButtonClickedWhenNoSheetVisible() {
|
||||
whenever(nearbyParentFragmentView.isListBottomSheetExpanded()).thenReturn(false)
|
||||
whenever(nearbyParentFragmentView.isDetailsBottomSheetVisible()).thenReturn(false)
|
||||
nearbyPresenter.backButtonClicked()
|
||||
verify(nearbyParentFragmentView).setTabItemContributions()
|
||||
val hasNearbyHandledBackPress = nearbyPresenter.backButtonClicked()
|
||||
assertFalse(hasNearbyHandledBackPress)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue