mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
builtin/logical/transit: fix dropped test error (#14244)
This commit is contained in:
parent
40ddcc2cac
commit
1a7ed104b8
1 changed files with 3 additions and 1 deletions
|
|
@ -366,7 +366,9 @@ func TestTransit_UpdateKeyConfigWithAutorotation(t *testing.T) {
|
|||
_, err = client.Logical().Write(fmt.Sprintf("transit/keys/%s", keyName), map[string]interface{}{
|
||||
"auto_rotate_period": test.initialAutoRotatePeriod,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
resp, err := client.Logical().Write(fmt.Sprintf("transit/keys/%s/config", keyName), map[string]interface{}{
|
||||
"auto_rotate_period": test.newAutoRotatePeriod,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue