diff --git a/pkg/session/test/token.go b/pkg/session/test/token.go index 8d51720c..82c405b7 100644 --- a/pkg/session/test/token.go +++ b/pkg/session/test/token.go @@ -32,6 +32,9 @@ func Generate() *session.Token { tok.SetID(uid) tok.SetOwnerID(ownerID) tok.SetSessionKey(keyBin) + tok.SetExp(11) + tok.SetNbf(22) + tok.SetIat(33) return tok }