You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now when I run the pact on the provider side, it fails with this error message:
some description: generates a message which has a matching body
1.1) body: $.after Expected 1 (Integer) but received 4 (Integer)
1.2) body: $.before Expected 1 (Integer) but received 3 (Integer)
1.3) body: $.userId Expected 1 (Integer) but received 2 (Integer)
After some debugging, it looks like the following line is always taking body as a category:
In one project, I'm using
MessagePactBuilder
from dependencyau.com.dius.pact:consumer:4.3.4
to build a spec:Make note of the
matchingRules
with keycontent
.Now when I run the pact on the provider side, it fails with this error message:
After some debugging, it looks like the following line is always taking
body
as a category:pact-jvm/provider/src/main/kotlin/au/com/dius/pact/provider/ResponseComparison.kt
Line 179 in 54df7cf
This feels like a bug, wdyt?
EDIT: this seems to be linked solely to V4, as V3 sets the
matchingRules
with keycontent
The text was updated successfully, but these errors were encountered: