File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Tests/MapboxCoreNavigationIntegrationTests Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ class RouteRefreshIntegrationTests: TestCase {
2323
2424 override func tearDown( ) {
2525 HTTPStubs . removeAllStubs ( )
26+ MapboxRoutingProvider . __testRoutesStub = nil
2627 super. tearDown ( )
2728 }
2829
@@ -52,7 +53,7 @@ class RouteRefreshIntegrationTests: TestCase {
5253 expectationKey: " RerouteCustomParametersDefaultProfile " ) { options in
5354 let customOptions = options as! CustomRouteOptions
5455 XCTAssert ( customOptions. profileIdentifier == . custom)
55- XCTAssert ( customOptions. urlQueryItems == [ . customItem] )
56+ XCTAssert ( customOptions. urlQueryItems. contains ( . customItem) )
5657 }
5758 }
5859
@@ -62,7 +63,7 @@ class RouteRefreshIntegrationTests: TestCase {
6263 expectationKey: " RerouteCustomParametersCustomProfile " ) { options in
6364 let customOptions = options as! CustomRouteOptions
6465 XCTAssert ( customOptions. profileIdentifier == . automobileAvoidingTraffic)
65- XCTAssert ( customOptions. urlQueryItems == [ . customItem] )
66+ XCTAssert ( customOptions. urlQueryItems. contains ( . customItem) )
6667 }
6768 }
6869
You can’t perform that action at this time.
0 commit comments