- Notifications
You must be signed in to change notification settings - Fork1k
Commit4607e51
authored
refactor: organize OAuth2 provider tests into dedicated packages (#18747)
# OAuth2 Provider Code ReorganizationThis PR reorganizes the OAuth2 provider code to improve separation of concerns and maintainability. The changes include:1. Migrating OAuth2 provider app validation tests from `coderd/oauth2_test.go` to `oauth2provider/provider_test.go`2. Moving OAuth2 client registration validation tests to `oauth2provider/validation_test.go`3. Adding new comprehensive test files for metadata and validation edge cases4. Renaming `OAuth2ProviderAppSecret` to `AppSecret` for better naming consistency5. Simplifying the main integration test in `oauth2_test.go` to focus on core functionalityThe PR maintains all existing test coverage while organizing the code more logically, making it easier to understand and maintain the OAuth2 provider implementation. This reorganization will help with future enhancements to the OAuth2 provider functionality.1 parentc650133 commit4607e51
File tree
4 files changed
+1334
-413
lines changed- coderd
- oauth2provider
4 files changed
+1334
-413
lines changed0 commit comments
Comments
(0)