[iOS] Dismiss authorization prompt before testing Location Services delegate methods
This commit is contained in:
committed by
Minh Nguyễn
parent
c71416377f
commit
8e8a341e28
@@ -578,6 +578,8 @@
|
||||
tester.mapView.showsUserLocation = YES;
|
||||
}];
|
||||
|
||||
[tester acknowledgeSystemAlert];
|
||||
|
||||
XCTAssertEqualObjects(notification.name,
|
||||
@"mapViewWillStartLocatingUser",
|
||||
@"mapViewWillStartLocatingUser delegate should receive message");
|
||||
|
||||
Reference in New Issue
Block a user