Skip to content

Commit

Permalink
fix config test
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexand committed Aug 1, 2024
1 parent 2d0cd01 commit b111fb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func TestLoadApiConfig(t *testing.T) {
test.Error(err, "there should be an error processing the message")
test.Contains(fmt.Sprintf("%v", err), fmt.Sprintf("%v", tc.expectedError), "the error message should be as expected")
} else {
test.Equal(*tc.expectedAppConfig, *appConfig)
test.Equal(tc.expectedAppConfig, appConfig)
}

for k := range tc.envVars {
Expand Down Expand Up @@ -228,7 +228,7 @@ func TestLoadClientConfig(t *testing.T) {
test.Error(err, "there should be an error processing the message")
test.Contains(fmt.Sprintf("%v", err), fmt.Sprintf("%v", tc.expectedError), "the error message should be as expected")
} else {
test.Equal(*tc.expectedAppConfig, *appConfig)
test.Equal(tc.expectedAppConfig, appConfig)
}

for k := range tc.envVars {
Expand Down

0 comments on commit b111fb9

Please sign in to comment.