Skip to content

Commit a3e90b9

Browse files
fix: Fix location test
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent 923cdd9 commit a3e90b9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

app/src/test/java/com/nextcloud/talk/location/viewmodels/LocationPickerViewModelTest.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,8 @@ class LocationPickerViewModelTest {
110110
assertEquals("Brandenburger Tor", viewModel.uiState.value.placeName)
111111

112112
// User pans the map to a genuinely new location
113-
val newLat = 52.5200
114-
val newLon = 13.4050
115-
viewModel.updateMapCenter(newLat, newLon)
113+
val newLat = 15.5200
114+
val newLon = 42.4050
116115
viewModel.onMapScrolled(newLat, newLon)
117116

118117
assertEquals(

0 commit comments

Comments
 (0)