mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
builtin/logical/transit: fix dropped test error (#14244)
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user