Merge pull request #1175 from trheyi/main
Refactor test files to improve readability and consistency
This commit is contained in:
commit
19942f085a
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