We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f469a6b commit f26103dCopy full SHA for f26103d
authority/authorize_test.go
@@ -146,7 +146,7 @@ func TestAuthority_authorizeToken(t *testing.T) {
146
}
147
raw, err := jwt.Signed(sig).Claims(cl).CompactSerialize()
148
assert.FatalError(t, err)
149
- _, err = _a.authorizeToken(raw)
+ _, err = _a.authorizeToken(context.TODO(), raw)
150
151
return &authorizeTest{
152
auth: _a,
@@ -234,7 +234,7 @@ func TestAuthority_authorizeToken(t *testing.T) {
234
t.Run(name, func(t *testing.T) {
235
tc := genTestCase(t)
236
237
- p, err := tc.auth.authorizeToken(tc.ott)
+ p, err := tc.auth.authorizeToken(context.TODO(), tc.ott)
238
if err != nil {
239
if assert.NotNil(t, tc.err) {
240
switch v := err.(type) {
0 commit comments