Merge pull request #1175 from trheyi/main

Refactor test files to improve readability and consistency
This commit is contained in:
Max 2025-10-07 10:32:57 +08:00 committed by GitHub
commit 19942f085a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 12 deletions

View file

@ -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",