summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-05-05 16:32:34 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-05-05 16:33:12 -0700
commit1e8a480e1b7591b15bd0c6759dbd9d9418805cd7 (patch)
treed460fe17668ba2c70097a399a6deee7aae9b4a64 /test
parent92b3c03f5dd799fdd8804b777f0eb576fab5d5f9 (diff)
downloadqtlocation-mapboxgl-1e8a480e1b7591b15bd0c6759dbd9d9418805cd7.tar.gz
clear location services prompt if needed
Diffstat (limited to 'test')
-rw-r--r--test/ios/MapViewTests.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ios/MapViewTests.m b/test/ios/MapViewTests.m
index fff52adc0e..05eafa381c 100644
--- a/test/ios/MapViewTests.m
+++ b/test/ios/MapViewTests.m
@@ -13,6 +13,8 @@
@implementation MapViewTests
- (void)beforeEach {
+ [tester acknowledgeSystemAlert];
+
[system simulateDeviceRotationToOrientation:UIDeviceOrientationPortrait];
[tester.viewController resetMapView];