-
Notifications
You must be signed in to change notification settings - Fork 59
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
Multiple mapping with anyBody depends on orders declaration #298
Comments
It looks like a bug in the matching logic - the absent of body matcher and a non-exact matcher resolves to the same score, so hoverfly will just take the first one, giving you the illusion that order plays a part here. |
It was my though too |
That's right. |
I've raised a PR to fix this, thanks for your report! |
fixed in v0.17.0 |
Description of the bug
The order of declaration of simulation depends on order even when using anyBody() method
Steps to reproduce the issue
Here are two tests
Observed result
The order is critical to the good execution of tests when it should not.
Expected result
Both test should work the same way.
Additional relevant information
If not indicated above:
The text was updated successfully, but these errors were encountered: