vault: fix dropped error in TestTokenStore_HandleRequest_CreateToken_NotAllowedEntityAlias(). (#7934)
This commit is contained in:
parent
4221091de8
commit
019fbe4b9c
|
@ -2963,6 +2963,9 @@ func TestTokenStore_HandleRequest_CreateToken_NotAllowedEntityAlias(t *testing.T
|
|||
"mount_accessor": tokenMountAccessor,
|
||||
},
|
||||
})
|
||||
if err != nil || (resp != nil && resp.IsError()) {
|
||||
t.Fatalf("err: %v\nresp: %#v", err, resp)
|
||||
}
|
||||
|
||||
// Create token role
|
||||
resp, err = core.HandleRequest(ctx, &logical.Request{
|
||||
|
|
Loading…
Reference in New Issue