[iOS] Dismiss authorization prompt before testing Location Services delegate methods

This commit is contained in:
Minh Nguyễn
2015-10-16 14:12:52 -07:00
committed by Minh Nguyễn
parent c71416377f
commit 8e8a341e28

View File

@@ -578,6 +578,8 @@
tester.mapView.showsUserLocation = YES;
}];
[tester acknowledgeSystemAlert];
XCTAssertEqualObjects(notification.name,
@"mapViewWillStartLocatingUser",
@"mapViewWillStartLocatingUser delegate should receive message");