From e804f74efa14cef0a50f2155d8149087f1dc4649 Mon Sep 17 00:00:00 2001 From: Mike Palmiotto Date: Fri, 15 Jul 2022 16:12:59 -0700 Subject: [PATCH] Fix agent use_auto_auth_token force test (#16313) Update the test to fix a copy-paste error. --- command/agent/config/config_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") } }