Skip to content

assert params and body in repositories_test - #96

Merged
williammartin merged 1 commit into
mainfrom
juruen/repository-test
Apr 4, 2025
Merged

assert params and body in repositories_test#96
williammartin merged 1 commit into
mainfrom
juruen/repository-test

Conversation

@juruen

@juruenjuruen commented Apr 4, 2025

Copy link
Copy Markdown
Collaborator

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.

CopilotAI review requested due to automatic review settings April 4, 2025 10:33

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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
juruenforce-pushed the juruen/repository-test branch 2 times, most recently from cc1bc67 to ae4cbd0CompareApril 4, 2025 10:38
@juruenjuruen changed the title assert params and body in repository_testassert params and body in repositories_testApr 4, 2025
@juruen
juruen marked this pull request as ready for review April 4, 2025 10:49
@juruen
juruenforce-pushed the juruen/repository-test branch from ae4cbd0 to 5c5f42fCompareApril 4, 2025 11:58
@williammartin
williammartin merged commit ccaedb6 into mainApr 4, 2025
@williammartin
williammartin deleted the juruen/repository-test branch April 4, 2025 12:32
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 freeto 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.

4 participants

@juruen@williammartin@SamMorrowDrums