mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 04:16:31 +02:00
Fix agent use_auto_auth_token force test (#16313)
Update the test to fix a copy-paste error.
This commit is contained in:
parent
3df6e359bc
commit
e804f74efa
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user