mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Merge branch 'master' into token-roles
This commit is contained in:
@@ -310,6 +310,7 @@ func TestSysGenerateRoot_Update_OTP(t *testing.T) {
|
||||
testResponseBody(t, resp, &actual)
|
||||
|
||||
expected["creation_time"] = actual["data"].(map[string]interface{})["creation_time"]
|
||||
expected["accessor"] = actual["data"].(map[string]interface{})["accessor"]
|
||||
|
||||
if !reflect.DeepEqual(actual["data"], expected) {
|
||||
t.Fatalf("\nexpected: %#v\nactual: %#v", expected, actual["data"])
|
||||
@@ -391,6 +392,7 @@ func TestSysGenerateRoot_Update_PGP(t *testing.T) {
|
||||
testResponseBody(t, resp, &actual)
|
||||
|
||||
expected["creation_time"] = actual["data"].(map[string]interface{})["creation_time"]
|
||||
expected["accessor"] = actual["data"].(map[string]interface{})["accessor"]
|
||||
|
||||
if !reflect.DeepEqual(actual["data"], expected) {
|
||||
t.Fatalf("\nexpected: %#v\nactual: %#v", expected, actual["data"])
|
||||
|
||||
Reference in New Issue
Block a user