We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 079e673 commit 00168b1Copy full SHA for 00168b1
core/matchers/src/main/kotlin/au/com/dius/pact/core/matchers/RequestMatching.kt
@@ -85,7 +85,7 @@ class RequestMatching(private val expectedInteractions: List<RequestResponseInte
85
return (listOf(Matching.matchMethod(expected.method, actual.method)) +
86
Matching.matchPath(expected, actual) +
87
Matching.matchQuery(expected, actual) +
88
- Matching.matchCookie(expected.cookie() ?: emptyList(), actual.cookie() ?: emptyList()) +
+ Matching.matchCookie(expected.cookie(), actual.cookie()) +
89
Matching.matchRequestHeaders(expected, actual) +
90
Matching.matchBody(expected, actual, allowUnexpectedKeys)
91
).filterNotNull()
0 commit comments