We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey,
iam not able to expect an empty body on the consumer side when creating the contract. First my code was:
I already read that there is a difference between expecting an empty body and not caring about the body here as there was an issue for JavaScript.
So i changed my code to:
But the generated contract is still the same without the body property, which will lead to not caring about the body:
The expected behaviour would be that there is an emtpy body expected in the response. ("body": "")
Is there anything iam missing out or is this a bug? Iam using version 4.3.14 of pact with Java version 16.0.1.
The text was updated successfully, but these errors were encountered:
fix: write empty bodies to the Pact file #1611
fc7e13e
Fix released with version 4.3.16
Sorry, something went wrong.
aece98d
No branches or pull requests
Hey,
iam not able to expect an empty body on the consumer side when creating the contract. First my code was:
I already read that there is a difference between expecting an empty body and not caring about the body here as there was an issue for JavaScript.
So i changed my code to:
But the generated contract is still the same without the body property, which will lead to not caring about the body:
The expected behaviour would be that there is an emtpy body expected in the response. ("body": "")
Is there anything iam missing out or is this a bug? Iam using version 4.3.14 of pact with Java version 16.0.1.
The text was updated successfully, but these errors were encountered: