diff --git a/mobile-engage/src/androidTest/java/com/emarsys/mobileengage/geofence/DefaultGeofenceInternalTest.kt b/mobile-engage/src/androidTest/java/com/emarsys/mobileengage/geofence/DefaultGeofenceInternalTest.kt index 2c31e924..60ddfc72 100644 --- a/mobile-engage/src/androidTest/java/com/emarsys/mobileengage/geofence/DefaultGeofenceInternalTest.kt +++ b/mobile-engage/src/androidTest/java/com/emarsys/mobileengage/geofence/DefaultGeofenceInternalTest.kt @@ -257,7 +257,7 @@ class DefaultGeofenceInternalTest : AnnotationSpec() { geofenceInternal.enable(null) if (Build.VERSION.SDK_INT > Build.VERSION_CODES.Q) { - verify(mockPermissionChecker.checkSelfPermission(Manifest.permission.ACCESS_BACKGROUND_LOCATION)) + verify(mockPermissionChecker).checkSelfPermission(Manifest.permission.ACCESS_BACKGROUND_LOCATION) } verify(mockPermissionChecker).checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) } @@ -435,7 +435,7 @@ class DefaultGeofenceInternalTest : AnnotationSpec() { if (Build.VERSION.SDK_INT > Build.VERSION_CODES.Q) { verify(mockPermissionChecker).checkSelfPermission(Manifest.permission.ACCESS_BACKGROUND_LOCATION) verify(mockPermissionChecker).checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) - verify(mockFusedLocationProviderClient.lastLocation) + verify(mockFusedLocationProviderClient).lastLocation } }