summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-10-16 14:12:52 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-10-16 14:58:57 -0700
commit8e8a341e284563e231415c1ce8b6bb129ae3687f (patch)
treefa23982fc145d2000a4b2083cc2e248b680c630c /test
parentc71416377f5f1e4fab1b249f160bd48a062a2c38 (diff)
downloadqtlocation-mapboxgl-8e8a341e284563e231415c1ce8b6bb129ae3687f.tar.gz
[iOS] Dismiss authorization prompt before testing Location Services delegate methods
Diffstat (limited to 'test')
-rw-r--r--test/ios/MapViewTests.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ios/MapViewTests.m b/test/ios/MapViewTests.m
index 71e73054f4..521549f5d2 100644
--- a/test/ios/MapViewTests.m
+++ b/test/ios/MapViewTests.m
@@ -578,6 +578,8 @@
tester.mapView.showsUserLocation = YES;
}];
+ [tester acknowledgeSystemAlert];
+
XCTAssertEqualObjects(notification.name,
@"mapViewWillStartLocatingUser",
@"mapViewWillStartLocatingUser delegate should receive message");