-
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
FFI > Using values
matcher for header: It shouldn't return mismatches about 2 identical strings are not equal
#331
Comments
values
matcher for header: It shouldn't return mismatches about 2 identical strings are not equalvalues
matcher for header: It shouldn't return mismatches about 2 identical strings are not equal
values
matcher for header: It shouldn't return mismatches about 2 identical strings are not equalvalues
matcher for header: It shouldn't return mismatches about 2 identical strings are not equal
There are a few problems here:
|
We're having the same problem, but with any matchers for headers. Frameworks / Versions used:
Consumer-test (rough excerpt):
generates (excerpt):
We tried different matchers (string, regex, like, providerState), but all lead to the same problem. After changing the key manually to Am i right that this is the same issue? Should i report this at another repo? |
This is probably caused by #355 |
I would like to test this again on the version
This error doesn't happen on It look like that this error not related to this issue. If so I will create new issue for it. UPDATED: this is the issue #359 |
after updating pact-core my generated files are fine. |
This specific issue (using |
I'm trying to match header to contain multiple values using ffi call but it doesn't work as I expected. Let focus on
values
matcher first:FFI call:
Trimmed pact file:
Provider response's header (same problem in 2 cases):
Verifier logs (same log in 2 cases)
Expected: No mismatches for
X-IMPROVED
Actual: Weird message from provider's verifier, saying that 2 identical strings are not equal (similar message in both cases):
For more information:
X-IMPROVED
) tienvx/pact-php@2993bceThe text was updated successfully, but these errors were encountered: