diff options
author | Fabian Guerra <fabian.guerra@mapbox.com> | 2019-10-07 16:27:50 -0700 |
---|---|---|
committer | Fabian Guerra <fabian.guerra@mapbox.com> | 2019-10-07 16:27:50 -0700 |
commit | e440ad807658fc7be4538b7f10e792ac9cad1ec0 (patch) | |
tree | 32abf082bf95694f31bbe43c06844ceae9094770 /platform | |
parent | e9565c2aec1cb3709a2aec9b7fae761b2092bcf4 (diff) | |
download | qtlocation-mapboxgl-e440ad807658fc7be4538b7f10e792ac9cad1ec0.tar.gz |
[ios] Fix a network test issue caused when stopsRequests is set to YES.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/test/MGLNetworkConfigurationTests.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/ios/test/MGLNetworkConfigurationTests.mm b/platform/ios/test/MGLNetworkConfigurationTests.mm index 60d551cfee..54c29e79d3 100644 --- a/platform/ios/test/MGLNetworkConfigurationTests.mm +++ b/platform/ios/test/MGLNetworkConfigurationTests.mm @@ -55,5 +55,8 @@ // TODO: When the double linking framework fix lands this should be replaced to an equal assert XCTAssertNotEqual([MGLNetworkConfiguration sharedManager].stopsRequests, offline); + // Resets to the default value in order to let other tests run properly + [MGLNetworkConfiguration sharedManager].stopsRequests = NO; + } @end |