Skip to content
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

Issue / Don't Ensure Success #165

Merged
merged 8 commits into from
Aug 23, 2024
Merged

Conversation

dncsvr
Copy link
Member

@dncsvr dncsvr commented Aug 23, 2024

Improve mocking client

Tasks

  • Change Response.StatusCode type to HttpStatusCode
  • VerifySend should allow null for allowErrorResponse parameter
  • Improve MockingClients test coverage
    • Test all possible cases when mocking
    • Test all possible cases for verify

@dncsvr dncsvr self-assigned this Aug 23, 2024
dncsvr added 7 commits August 23, 2024 14:54
- change `Response.StatusCode` type to `HttpStatusCode`
- remove `StatusCode` enum
- remove `StatusCode` helpers
- revert parameter name to `noResponse`
- remove response parameter names
- update unreleased.md
- edit mock client setup to return response when only status code is set
- change noResponse content to empty string
- fix test case setup
@dncsvr dncsvr marked this pull request as ready for review August 23, 2024 13:48
@dncsvr dncsvr merged commit 8747085 into mouseless:main Aug 23, 2024
5 checks passed
@dncsvr dncsvr deleted the issue/dont-ensure-success branch August 23, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants