From e18866498d23f4a9f06c547a3db986dd089ff07e Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Sun, 30 Jun 2019 21:03:36 -0400 Subject: [PATCH] Fix tests --- vault/token_store_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vault/token_store_test.go b/vault/token_store_test.go index 0fabc3a15..b6df807af 100644 --- a/vault/token_store_test.go +++ b/vault/token_store_test.go @@ -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(), } @@ -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" {