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:
parent
9044d4c30a
commit
d113adaa8a
2 changed files with 12 additions and 12 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue