-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
FluentAssertions extensions do not filter headers correctly #1074
Labels
Comments
@chrischu https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions |
Thanks for the quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When asserting headers via the FluentAssertions extensions, headers are not filtered correctly (headers from all captured requests are checked).
Expected behavior:
I expect the assertions to only consider the requests that match the previous filters (see example below).
Test to reproduce
This test succeeds although it should fail, since only the POST request has the header, the GET request does not.
Other related info
I'm using WireMock.Net & WireMock.Net.FluentAssertions 1.5.48.
The text was updated successfully, but these errors were encountered: