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) {
|
func TestConfigValidationLogic(t *testing.T) {
|
||||||
// Test cases for different configuration scenarios
|
// Test cases for different configuration scenarios
|
||||||
testCases := []struct {
|
testCases := []struct {
|
||||||
name string
|
name string
|
||||||
clientID string
|
clientID string
|
||||||
clientSecret string
|
clientSecret string
|
||||||
shouldPass bool
|
shouldPass bool
|
||||||
expectedError string
|
expectedError string
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
name: "valid_direct_values",
|
name: "valid_direct_values",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue