diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-10-16 14:12:52 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-10-16 14:58:57 -0700 |
commit | 8e8a341e284563e231415c1ce8b6bb129ae3687f (patch) | |
tree | fa23982fc145d2000a4b2083cc2e248b680c630c /test/ios | |
parent | c71416377f5f1e4fab1b249f160bd48a062a2c38 (diff) | |
download | qtlocation-mapboxgl-8e8a341e284563e231415c1ce8b6bb129ae3687f.tar.gz |
[iOS] Dismiss authorization prompt before testing Location Services delegate methods
Diffstat (limited to 'test/ios')
-rw-r--r-- | test/ios/MapViewTests.m | 2 |
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"); |