Skip to content

assert query params in search_test - #97

Merged
juruen merged 4 commits into
mainfrom
juruen/search_test
Apr 4, 2025
Merged

assert query params in search_test#97
juruen merged 4 commits into
mainfrom
juruen/search_test

Conversation

@juruen

Copy link
Copy Markdown
Collaborator

Context

Follow-up PR to #96 to continue improving our test coverage. These changes assert that the request parameters and body are correctly handled in the search_test file.

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

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 search_test file by asserting that query parameters and the request body are correctly handled.

  • Updated tests for repository, code, and user search to use WithRequestMatchHandler with an expectQueryParams check.
  • Adjusted expected pagination parameters in the repository search tests.

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

@juruen
juruen merged commit bdfb30c into mainApr 4, 2025
@juruen
juruen deleted the juruen/search_test branch April 4, 2025 12:51
DaleSeo pushed a commit to DaleSeo/github-mcp-server that referenced this pull request Oct 24, 2025
Signed-off-by: Ivan Pedrazas <ivan.pedrazas@docker.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