Skip to content

Commit

Permalink
Use a token store with an initialized exp mananger in TestTokenStore_…
Browse files Browse the repository at this point in the history
…RevokeSelf (#4590)
  • Loading branch information
calvn authored May 18, 2018
1 parent d991bc1 commit 3a95aa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vault/token_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,8 @@ func buildTokenTree(t testing.TB, ts *TokenStore, depth uint64) (root *TokenEntr
}

func TestTokenStore_RevokeSelf(t *testing.T) {
_, ts, _, _ := TestCoreWithTokenStore(t)
exp := mockExpiration(t)
ts := exp.tokenStore

ent1 := &TokenEntry{}
if err := ts.create(context.Background(), ent1); err != nil {
Expand Down

0 comments on commit 3a95aa5

Please sign in to comment.