-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
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
Multipart: boundary should not be random #322
Comments
I have tried several solutions:
|
github-project-automation
bot
moved this from New Issue
to Closed
in Pact Triage (not yet in use)
Sep 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently boundary is random, so the pact is generated differently each time I run consumer test:
Here is how to reproduce it:
git clone https://github.com/pact-foundation/pact-php.git
cd pact-php
git checkout ffi
composer install
cd example/multipart/consumer/
PACT_LOGLEVEL=trace phpunit
example/multipart/pacts/multipartConsumer-multipartProvider.json
should not be changedexample/multipart/pacts/multipartConsumer-multipartProvider.json
is changed because of the dynamic boundaryAccording to this article this behavior should be avoid.
The text was updated successfully, but these errors were encountered: