-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
[management] Add integration test for the setup-keys API endpoints #2936
base: main
Are you sure you want to change the base?
Conversation
…ap + remove MocIntegrated Validator from tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 6 out of 19 changed files in this pull request and generated no suggestions.
Files not reviewed (13)
- management/server/http/testdata/setup_keys.sql: Language not supported
- management/server/http/setupkeys_handler_test.go: Evaluated as low risk
- relay/client/picker_test.go: Evaluated as low risk
- management/server/account_test.go: Evaluated as low risk
- management/server/geolocation/geolocation.go: Evaluated as low risk
- management/server/management_test.go: Evaluated as low risk
- management/server/grpcserver.go: Evaluated as low risk
- management/server/jwtclaims/jwtValidator.go: Evaluated as low risk
- management/server/geolocation/geolocation_test.go: Evaluated as low risk
- management/server/http/geolocations_handler.go: Evaluated as low risk
- management/server/http/posture_checks_handler.go: Evaluated as low risk
- management/server/http/posture_checks_handler_test.go: Evaluated as low risk
- management/server/user_test.go: Evaluated as low risk
Comments skipped due to low confidence (2)
management/server/account.go:170
- [nitpick] The variable name 'geo' is ambiguous. It should be renamed to 'geolocationManager' for consistency.
geo geolocation.Geolocation
management/server/account.go:1044
- [nitpick] The variable name 'geo' is ambiguous. It should be renamed to 'geolocationManager' for consistency.
geo geolocation.Geolocation
Quality Gate passedIssues Measures |
Describe your changes
This PR adds integration tests to test the full flow from API endpoint down to the store layer back up to the API response and the peers update message.
Issue ticket number and link
Checklist