You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is by design (historically that is, before .QueryString() existed). Feel free to offer a PR but we have to be careful with the change in behavior as this may break existing (test) projects.
Hey,
Thank you for writing this awesome library !
While using it I ran into a fun challenge :)
While mocking a Http Request with RequestURI and QueryString, like this:
The request matcher does not match the request even though the InvokedRequest and the Matcher URI and QueryString, combined is a perfect match.
To make the request work, I need to add '*' at the end of the URI, like this:
When I looked through the code, here:
MockHttp/src/MockHttp/Extensions/RequestMatchingExtensions.cs
Line 35 in a1c7a90
I'll be happy to give it a try and create a PR with a fix if this is not intended behaviour.
The text was updated successfully, but these errors were encountered: