summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-05-12 13:53:54 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-05-12 13:53:54 -0700
commit44835707a230cb04ed07f8cb22757c4184c9021f (patch)
treef191062714bc1c020e2f440022d3839d93f30b8f /test
parent1ad640f5b7531e5b17d0fc566c2c22d38d4f9825 (diff)
downloadqtlocation-mapboxgl-44835707a230cb04ed07f8cb22757c4184c9021f.tar.gz
update test app to use fake in-app settings
Diffstat (limited to 'test')
-rw-r--r--test/ios/MGLTAppDelegate.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ios/MGLTAppDelegate.m b/test/ios/MGLTAppDelegate.m
index 4bd6b64882..bbd67821fe 100644
--- a/test/ios/MGLTAppDelegate.m
+++ b/test/ios/MGLTAppDelegate.m
@@ -1,5 +1,6 @@
#import "MGLTAppDelegate.h"
#import "MGLTViewController.h"
+#import "MapboxGL.h"
@implementation MGLTAppDelegate
@@ -12,6 +13,8 @@
wrapper.toolbarHidden = YES;
[self.window makeKeyAndVisible];
+ [MGLAccountManager setMapboxMetricsEnabledSettingShownInApp:YES]; // a lie, but a convenient one
+
return YES;
}