Refactor test files to improve readability and consistency

- Cleaned up whitespace in user configuration validation and environment variable extraction tests.
- Enhanced logging statements for better clarity during test execution.
- Standardized formatting across test cases to improve maintainability.
This commit is contained in:
Max 2025-10-07 10:32:35 +08:00
parent 9044d4c30a
commit d113adaa8a
2 changed files with 12 additions and 12 deletions

View file

@ -10,11 +10,11 @@ import (
func TestConfigValidationLogic(t *testing.T) {
// Test cases for different configuration scenarios
testCases := []struct {
name string
clientID string
clientSecret string
shouldPass bool
expectedError string
name string
clientID string
clientSecret string
shouldPass bool
expectedError string
}{
{
name: "valid_direct_values",