Remora/Remora.Discord

Replace MockHttpRequestHandler.WithQueryString with MockHttpRequestHandler.WithExactQueryString to account for unintended extra parameters being added

Closed this issue · 0 comments

Description

Replacing MockHttpRequestHandler.WithQueryString builder calls with MockHttpRequestHandler.WithExactQueryString calls

Why This is Needed

WithExactQueryString would account for extraneous query parameters ending up in requests during testing

Alternatives Considered

Leaving it as it currently is will account for missing query parameters correctly and being careful as parameters are potentially added to requests has successfully worked so far

Additional Details

No response