mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-12-24 22:37:19 +00:00
Rejig Lease terminology internally; also, put a few JSON names back to their original values
This commit is contained in:
@@ -258,8 +258,8 @@ func TestBackendHandleRequest_renewExtend(t *testing.T) {
|
||||
}
|
||||
|
||||
req := logical.RenewRequest("/foo", secret.Response(nil, nil).Secret, nil)
|
||||
req.Secret.LeaseIssue = time.Now().UTC()
|
||||
req.Secret.LeaseIncrement = 1 * time.Hour
|
||||
req.Secret.IssueTime = time.Now().UTC()
|
||||
req.Secret.Increment = 1 * time.Hour
|
||||
resp, err := b.HandleRequest(req)
|
||||
if err != nil {
|
||||
t.Fatalf("err: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user