A data-oriented C# Discord library, focused on high-performance concurrency and robust design.
GNU Lesser General Public License v3.0
246
stars
44
forks
source link
Replace MockHttpRequestHandler.WithQueryString with MockHttpRequestHandler.WithExactQueryString to account for unintended extra parameters being added #309
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
Description
Replacing
MockHttpRequestHandler.WithQueryString
builder calls withMockHttpRequestHandler.WithExactQueryString
callsWhy This is Needed
WithExactQueryString
would account for extraneous query parameters ending up in requests during testingAlternatives 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