Skip to content

Commit 4e19e1e

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/MapboxCoreNavigationIntegrationTests/RouteRefreshIntegrationTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ fileprivate final class CustomRouteOptions: NavigationRouteOptions {
279279
profileIdentifier: ProfileIdentifier? = nil,
280280
queryItems: [URLQueryItem]? = nil
281281
) {
282-
self.customParameters = []
282+
let mappedUrlItem = queryItems!.first(where: { $0 == .customItem })!
283+
self.customParameters = [mappedUrlItem]
283284
super.init(
284285
waypoints: waypoints,
285286
profileIdentifier: profileIdentifier,

0 commit comments

Comments
 (0)