From e440ad807658fc7be4538b7f10e792ac9cad1ec0 Mon Sep 17 00:00:00 2001 From: Fabian Guerra Date: Mon, 7 Oct 2019 16:27:50 -0700 Subject: [ios] Fix a network test issue caused when stopsRequests is set to YES. --- platform/ios/test/MGLNetworkConfigurationTests.mm | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.1