From 105f0f6b3b3c6103ff718b237f515376e5627917 Mon Sep 17 00:00:00 2001 From: jmkiley Date: Fri, 26 Jun 2020 12:09:23 -0700 Subject: [PATCH] Fix second accessToken --- platform/ios/Integration Tests/MGLIntegrationTestCase.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/ios/Integration Tests/MGLIntegrationTestCase.m b/platform/ios/Integration Tests/MGLIntegrationTestCase.m index c81611631b..992192b3ca 100644 --- a/platform/ios/Integration Tests/MGLIntegrationTestCase.m +++ b/platform/ios/Integration Tests/MGLIntegrationTestCase.m @@ -11,7 +11,7 @@ + (XCTestSuite*)defaultTestSuite { XCTestSuite *newTestSuite = [XCTestSuite testSuiteWithName:defaultTestSuite.name]; BOOL runPendingTests = [[[NSProcessInfo processInfo] environment][@"MAPBOX_RUN_PENDING_TESTS"] boolValue]; - NSString *accessToken = [[NSProcessInfo processInfo] environment][@"MAPBOX_ACCESS_TOKEN"]; + NSString *accessToken = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"MGLMapboxAccessToken"]; for (XCTest *test in tests) {