Skip to content

Commit

Permalink
fix(tests): TestReadFullAuthConfigExample
Browse files Browse the repository at this point in the history
  • Loading branch information
spbsoluble committed Oct 28, 2024
1 parent ef80dc1 commit a5e80f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth_providers/command_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func TestMergeConfigFromFile(t *testing.T) {

func TestReadFullAuthConfigExample(t *testing.T) {
filePath := "../lib/config/full_auth_config_example.json"
expectedConfig := &auth_providers.Config{
expectedConfig := auth_providers.Config{
Servers: map[string]auth_providers.Server{
"default": {
Host: "keyfactor.command.kfdelivery.com",
Expand Down Expand Up @@ -253,7 +253,7 @@ func TestReadFullAuthConfigExample(t *testing.T) {
t.Fatalf("failed to unmarshal JSON: %v", err)
}

if !compareConfigs(&config, expectedConfig) {
if !compareConfigs(&config, &expectedConfig) {
t.Fatalf("expected %v, got %v", expectedConfig, config)
}
}
Expand Down

0 comments on commit a5e80f4

Please sign in to comment.