From 8e8a341e284563e231415c1ce8b6bb129ae3687f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Fri, 16 Oct 2015 14:12:52 -0700 Subject: [PATCH] [iOS] Dismiss authorization prompt before testing Location Services delegate methods --- test/ios/MapViewTests.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ios/MapViewTests.m b/test/ios/MapViewTests.m index 71e73054f..521549f5d 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");