Skip to content

Colota - Android GPS Location tracker

test: update battery stop reason string in LocationForegroundServiceTest

Max Dietrichedf83616d403
diff --git a/apps/mobile/android/app/src/test/java/com/Colota/service/LocationForegroundServiceTest.kt b/apps/mobile/android/app/src/test/java/com/Colota/service/LocationForegroundServiceTest.kt
index e61d9fbd..0b121077 100644
--- a/apps/mobile/android/app/src/test/java/com/Colota/service/LocationForegroundServiceTest.kt
+++ b/apps/mobile/android/app/src/test/java/com/Colota/service/LocationForegroundServiceTest.kt
@@ -1279,7 +1279,7 @@ class LocationForegroundServiceTest {
invokeHandleLocationUpdate(location)
- verify { LocationServiceModule.sendTrackingStoppedEvent("Battery critical") }
+ verify { LocationServiceModule.sendTrackingStoppedEvent("Battery below 5% - tracking paused") }
}
@Test