Skip to content

Conversation

@juruen
Copy link
Collaborator

@juruen juruen commented Apr 4, 2025

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.

Copilot AI review requested due to automatic review settings April 4, 2025 10:33
Copy link
Contributor

Copilot AI left a 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

@juruen juruen marked this pull request as draft April 4, 2025 10:33
@juruen juruen force-pushed the juruen/repository-test branch 2 times, most recently from cc1bc67 to ae4cbd0 Compare April 4, 2025 10:38
@juruen juruen changed the title assert params and body in repository_test assert params and body in repositories_test Apr 4, 2025
@juruen juruen marked this pull request as ready for review April 4, 2025 10:49
@juruen juruen force-pushed the juruen/repository-test branch from ae4cbd0 to 5c5f42f Compare April 4, 2025 11:58
@williammartin williammartin merged commit ccaedb6 into main Apr 4, 2025
16 checks passed
@williammartin williammartin deleted the juruen/repository-test branch April 4, 2025 12:32
manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this pull request Apr 12, 2025
DaleSeo pushed a commit to DaleSeo/github-mcp-server that referenced this pull request Oct 24, 2025
* Add SmartBear MCP * rename to smartbear * update secrets * Add insight hub api key configuration * amend name * Update servers/smartbear/server.yaml Co-authored-by: Tom Longridge <tom.longridge@smartbear.com> * fix server yaml to correct initialization --------- Co-authored-by: Tom Longridge <tom.longridge@smartbear.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants