diff options
author | Jason Wray <jason@mapbox.com> | 2019-02-18 17:34:33 -0800 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2019-03-07 11:36:04 -0800 |
commit | d0ffaa4245802c2081f899eaed80b730558c9227 (patch) | |
tree | 6f1d23ac9eb11de62d4a9cccd0c64f9ca06cd038 /platform/ios/test | |
parent | baaa9ca24980845a70009e0e94c586b45c10476d (diff) | |
download | qtlocation-mapboxgl-d0ffaa4245802c2081f899eaed80b730558c9227.tar.gz |
[ios] Reset access token state after running tests
Diffstat (limited to 'platform/ios/test')
-rw-r--r-- | platform/ios/test/MGLMapViewLayoutTests.m | 1 | ||||
-rw-r--r-- | platform/ios/test/MGLMapViewScaleBarTests.m | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/platform/ios/test/MGLMapViewLayoutTests.m b/platform/ios/test/MGLMapViewLayoutTests.m index dfae346289..48e9bedc4f 100644 --- a/platform/ios/test/MGLMapViewLayoutTests.m +++ b/platform/ios/test/MGLMapViewLayoutTests.m @@ -58,6 +58,7 @@ - (void)tearDown { self.styleLoadingExpectation = nil; self.mapView = nil; + [MGLAccountManager setAccessToken:nil]; [super tearDown]; } diff --git a/platform/ios/test/MGLMapViewScaleBarTests.m b/platform/ios/test/MGLMapViewScaleBarTests.m index 11d1187263..966d9c6c54 100644 --- a/platform/ios/test/MGLMapViewScaleBarTests.m +++ b/platform/ios/test/MGLMapViewScaleBarTests.m @@ -19,6 +19,7 @@ - (void)tearDown { self.mapView = nil; + [MGLAccountManager setAccessToken:nil]; [super tearDown]; } |