Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Dec 17, 2024
1 parent b03e880 commit 1e9420d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 276 deletions.
3 changes: 2 additions & 1 deletion oauth2/oauth2_auth_code_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ func TestAuthCodeWithDefaultStrategy(t *testing.T) {
assert.True(t, time.Now().After(time.Unix(claims.Get("nbf").Int(), 0)), "%s", claims)
assert.True(t, time.Now().Before(time.Unix(claims.Get("exp").Int(), 0)), "%s", claims)
if !expectedExp.IsZero() {
requirex.EqualTime(t, expectedExp, time.Unix(claims.Get("exp").Int(), 0), 1*time.Second)
// 1.5s due to rounding
requirex.EqualTime(t, expectedExp, time.Unix(claims.Get("exp").Int(), 0), 1*time.Second+500*time.Millisecond)
}
assert.NotEmpty(t, claims.Get("jti").String(), "%s", claims)
assert.EqualValues(t, reg.Config().IssuerURL(ctx).String(), claims.Get("iss").String(), "%s", claims)
Expand Down
275 changes: 0 additions & 275 deletions oauth2/oauth2_refresh_token_test.go

This file was deleted.

0 comments on commit 1e9420d

Please sign in to comment.