summaryrefslogtreecommitdiff
path: root/test/ios/MapViewTests.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/ios/MapViewTests.m')
-rw-r--r--test/ios/MapViewTests.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ios/MapViewTests.m b/test/ios/MapViewTests.m
index fadbbae601..f4ae501d7e 100644
--- a/test/ios/MapViewTests.m
+++ b/test/ios/MapViewTests.m
@@ -544,7 +544,7 @@
- (void)testUserTrackingModeFollow {
tester.mapView.userTrackingMode = MGLUserTrackingModeFollow;
- [tester waitForTimeInterval:1];
+ [tester acknowledgeSystemAlert];
XCTAssertEqual(tester.mapView.userLocationVisible,
YES,
@@ -570,7 +570,7 @@
- (void)testUserTrackingModeFollowWithHeading {
tester.mapView.userTrackingMode = MGLUserTrackingModeFollowWithHeading;
- [tester waitForTimeInterval:1];
+ [tester acknowledgeSystemAlert];
XCTAssertEqual(tester.mapView.userLocationVisible,
YES,