mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-31 18:48:08 +00:00
CLI to take days as a unit of time (#20477)
* CLI to take days as a unit of time * CL
This commit is contained in:
@@ -71,6 +71,12 @@ func TestTokenCreateCommand_Run(t *testing.T) {
|
||||
"not present in secret",
|
||||
1,
|
||||
},
|
||||
{
|
||||
"ttl",
|
||||
[]string{"-ttl", "1d", "-explicit-max-ttl", "2d"},
|
||||
"token",
|
||||
0,
|
||||
},
|
||||
}
|
||||
|
||||
t.Run("validations", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user