Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

assert request params in code_scanning_test#94

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

Merged
juruen merged 1 commit intomainfromjuruen/code-scanning-assert
Apr 4, 2025

Conversation

juruen
Copy link
Collaborator

Context

This makes use of the new helper functionality to assert the right code scanning parameters are passed to the GH API request.

@CopilotCopilotAI review requested due to automatic review settingsApril 4, 2025 08:45
Copy link
Contributor

@CopilotCopilotAI 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 updates the code scanning alerts test to assert that the expected query parameters are included in the GitHub API request.

  • Replaces mock.WithRequestMatch with mock.WithRequestMatchHandler to allow for more flexible request matching.
  • Introduces the expectQueryParams helper to assert that parameters "ref", "state", and "severity" are correctly set.

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab.Learn more

Copy link
Collaborator

@williammartinwilliammartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM thanks!

@juruenjuruen merged commite267a3c intomainApr 4, 2025
16 checks passed
@juruenjuruen deleted the juruen/code-scanning-assert branchApril 4, 2025 09:35
manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this pull requestApr 12, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@williammartinwilliammartinwilliammartin approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@juruen@williammartin

[8]ページ先頭

©2009-2025 Movatter.jp