From 89c8c6d0a0d8a8d062d6b0078ba34151c8d1cb15 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Thu, 27 Oct 2022 12:06:38 -0700 Subject: [PATCH] Fix package name in tls test --- authority/tls_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/authority/tls_test.go b/authority/tls_test.go index 37066843..918adbdc 100644 --- a/authority/tls_test.go +++ b/authority/tls_test.go @@ -1903,15 +1903,15 @@ func TestAuthority_CRL(t *testing.T) { for i := 0; i < 100; i++ { sn := fmt.Sprintf("%v", i) - cl := jwt.Claims{ + cl := jose.Claims{ Subject: fmt.Sprintf("sn-%v", i), Issuer: validIssuer, - NotBefore: jwt.NewNumericDate(now), - Expiry: jwt.NewNumericDate(now.Add(time.Minute)), + NotBefore: jose.NewNumericDate(now), + Expiry: jose.NewNumericDate(now.Add(time.Minute)), Audience: validAudience, ID: sn, } - raw, err := jwt.Signed(sig).Claims(cl).CompactSerialize() + raw, err := jose.Signed(sig).Claims(cl).CompactSerialize() assert.FatalError(t, err) err = a.Revoke(crlCtx, &RevokeOptions{ Serial: sn,