Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Jul 1, 2019
1 parent 8be0bb7 commit 3485e12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vault/token_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3706,7 +3706,7 @@ func TestTokenStore_RoleTokenFields(t *testing.T) {
req := logical.TestRequest(t, logical.UpdateOperation, "roles/test")
req.Data = map[string]interface{}{
"explicit_max_ttl": 7200,
"token_type": "default-batch",
"token_type": "default-service",
"period": 5,
"bound_cidrs": boundCIDRs[0].String(),
}
Expand Down Expand Up @@ -3736,7 +3736,7 @@ func TestTokenStore_RoleTokenFields(t *testing.T) {
"token_explicit_max_ttl": int64(7200),
"explicit_max_ttl": int64(7200),
"renewable": false,
"token_type": "default-batch",
"token_type": "default-service",
}

if resp.Data["bound_cidrs"].([]*sockaddr.SockAddrMarshaler)[0].String() != "127.0.0.1" {
Expand Down

0 comments on commit 3485e12

Please sign in to comment.