Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hoffman committed Apr 30, 2017
1 parent 9ac7d8d commit 54b6bbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions http/logical_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions http/sys_generate_root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 54b6bbc

Please sign in to comment.