diff --git a/internal/oidc/token/token_handler_test.go b/internal/oidc/token/token_handler_test.go index 0cf67f66..daab27f7 100644 --- a/internal/oidc/token/token_handler_test.go +++ b/internal/oidc/token/token_handler_test.go @@ -993,7 +993,7 @@ type singleUseJWKProvider struct { } func (s *singleUseJWKProvider) GetJWKS(issuerName string) (jwks *jose.JSONWebKeySet, activeJWK *jose.JSONWebKey) { - s.calls += 1 + s.calls++ if s.calls > 1 { return nil, nil }