Skip to content

Commit c6c2d32

Browse files
committed
[Core] Integration tests in progress
1 parent ef968d5 commit c6c2d32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Tests/MapboxCoreNavigationIntegrationTests/RouteRefreshIntegrationTests.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)