(t *testing.T)
| 17 | ) |
| 18 | |
| 19 | func testValidator(t *testing.T) *TokenValidator { |
| 20 | v, err := NewTokenValidator(testAudience, "https://testdomain", testJWKSFile) |
| 21 | require.NoError(t, err) |
| 22 | return v |
| 23 | } |
| 24 | |
| 25 | func genToken(t *testing.T, claims jwt.MapClaims) string { |
| 26 | token, err := makeToken(testKeyID, testKeyFile, claims) |
no test coverage detected