mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
builtin/credential/aws: fix dropped test error (#13609)
This commit is contained in:
@@ -73,6 +73,9 @@ func TestPathConfigRotateRoot(t *testing.T) {
|
||||
t.Fatalf("expected new access key buzz2 but received %s", resp.Data["access_key"])
|
||||
}
|
||||
newClientConf, err := b.nonLockedClientConfigEntry(ctx, req.Storage)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if resp.Data["access_key"].(string) != newClientConf.AccessKey {
|
||||
t.Fatalf("expected new access key buzz2 to be saved to storage but receieved %s", clientConf.AccessKey)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user