mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 05:43:55 +01:00
fixed the function
This commit is contained in:
parent
6def572c5e
commit
10c4baf327
1 changed files with 2 additions and 2 deletions
|
|
@ -310,8 +310,8 @@ class NearbyParentFragmentPresenterTest {
|
|||
whenever(nearbyParentFragmentView.getCameraTarget()).thenReturn(LatLng(2.0, 1.0, 0.0F))
|
||||
// 111.19 km real distance, return false if 148253.333 > currentLocationSearchRadius
|
||||
NearbyController.currentLocationSearchRadius = 148307.0
|
||||
val isClose = nearbyPresenter?.searchCloseToCurrentLocation()
|
||||
assertTrue(isClose!!)
|
||||
val isClose = nearbyPresenter.searchCloseToCurrentLocation()
|
||||
assertTrue(isClose)
|
||||
}
|
||||
|
||||
fun expectMapAndListUpdate() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue