- Notifications
You must be signed in to change notification settings - Fork897
assert params and body in repositories_test#96
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull Request Overview
This PR enhances test coverage in the repository tests by asserting that request parameters and request bodies are correctly handled.
- Replaces mock.WithRequestMatch with mock.WithRequestMatchHandler across multiple test cases.
- Introduces explicit assertions for query parameters and request bodies in tests.
Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon.Learn more
cc1bc67
toae4cbd0
Compareccaedb6
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Context
Follow-up PR to#95 to continue improving our test coverage. These changes assert that the request parameters and body are correctly handled in the
repositories_test
file.