Skip to content

assert query params in search_test #97

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

Merged
merged 4 commits into from
Apr 4, 2025
Merged

assert query params in search_test #97

merged 4 commits into from
Apr 4, 2025

Conversation

juruen
Copy link
Collaborator

@juruen juruen commented Apr 4, 2025

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.

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

@Copilot 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 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 main Apr 4, 2025
16 checks passed
@juruen juruen deleted the juruen/search_test branch April 4, 2025 12:51
manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this pull request Apr 12, 2025
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.

3 participants