diff --git a/command/agent/config/config_test.go b/command/agent/config/config_test.go index 38ca2fb72f..c3fde94a2a 100644 --- a/command/agent/config/config_test.go +++ b/command/agent/config/config_test.go @@ -372,9 +372,9 @@ func TestLoadConfigFile_Bad_AgentCache_InconsisentAutoAuth(t *testing.T) { } func TestLoadConfigFile_Bad_AgentCache_ForceAutoAuthNoMethod(t *testing.T) { - _, err := LoadConfig("./test-fixtures/bad-config-cache-inconsistent-auto_auth.hcl") + _, err := LoadConfig("./test-fixtures/bad-config-cache-force-auto_auth.hcl") if err == nil { - t.Fatal("LoadConfig should return an error when use_auto_auth_token=true and no auto_auth section present") + t.Fatal("LoadConfig should return an error when use_auto_auth_token=force and no auto_auth section present") } }