Skip to content

Commit

Permalink
test(geofence): fix verification syntax issue
Browse files Browse the repository at this point in the history
SUITEDEV-35237

Co-authored-by: LasOri <[email protected]>
Co-authored-by: megamegax <[email protected]>
  • Loading branch information
3 people committed Feb 27, 2024
1 parent acc36b9 commit 5279c52
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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
}
}

Expand Down

0 comments on commit 5279c52

Please sign in to comment.