summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2019-08-20 15:46:51 -0700
committerjmkiley <jordan.kiley@mapbox.com>2019-08-20 15:46:51 -0700
commit5e754f83f7de88032e47740b423a460da4886d19 (patch)
tree47337bcd4363f3b33444fe7f0398b3fe14a276a1
parent6e4a4575fcf842cefae97cd13e0a9b284c006321 (diff)
downloadqtlocation-mapboxgl-5e754f83f7de88032e47740b423a460da4886d19.tar.gz
[ios] fix tests
-rw-r--r--platform/ios/test/MGLMapViewZoomTests.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/test/MGLMapViewZoomTests.mm b/platform/ios/test/MGLMapViewZoomTests.mm
index 703005aff3..360af72d02 100644
--- a/platform/ios/test/MGLMapViewZoomTests.mm
+++ b/platform/ios/test/MGLMapViewZoomTests.mm
@@ -129,6 +129,7 @@
- (void)testPinchAndZoom {
+ [[NSUserDefaults standardUserDefaults] setObject:@3 forKey:@"MGLRotationThresholdWhileZooming"];
self.mapView.rotationThresholdWhileZooming = 3;
self.mapView.zoomLevel = 15;
UIPinchGestureRecognizerMock *pinch = [[UIPinchGestureRecognizerMock alloc] initWithTarget:self.mapView action:nil];