From 54b6bbce6ea41ba50a60b5e9867d75b4ccce571e Mon Sep 17 00:00:00 2001 From: Chris Hoffman Date: Sun, 30 Apr 2017 16:38:26 -0400 Subject: [PATCH] fixing tests --- http/logical_test.go | 1 + http/sys_generate_root_test.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/http/logical_test.go b/http/logical_test.go index 1a2cdd065fba..bbbd89296654 100644 --- a/http/logical_test.go +++ b/http/logical_test.go @@ -152,6 +152,7 @@ func TestLogical_StandbyRedirect(t *testing.T) { "ttl": json.Number("0"), "creation_ttl": json.Number("0"), "explicit_max_ttl": json.Number("0"), + "expire_time": nil, }, "warnings": nilWarnings, "wrap_info": nil, diff --git a/http/sys_generate_root_test.go b/http/sys_generate_root_test.go index ea9f8d98ad86..41cb2a540c51 100644 --- a/http/sys_generate_root_test.go +++ b/http/sys_generate_root_test.go @@ -312,6 +312,7 @@ func TestSysGenerateRoot_Update_OTP(t *testing.T) { "ttl": json.Number("0"), "path": "auth/token/root", "explicit_max_ttl": json.Number("0"), + "expire_time": nil, } resp = testHttpGet(t, newRootToken, addr+"/v1/auth/token/lookup-self") @@ -401,6 +402,7 @@ func TestSysGenerateRoot_Update_PGP(t *testing.T) { "ttl": json.Number("0"), "path": "auth/token/root", "explicit_max_ttl": json.Number("0"), + "expire_time": nil, } resp = testHttpGet(t, newRootToken, addr+"/v1/auth/token/lookup-self")