(t *testing.T)
| 340 | } |
| 341 | |
| 342 | func newSigner(t *testing.T) jwtutils.StaticKey { |
| 343 | t.Helper() |
| 344 | |
| 345 | return jwtutils.StaticKey{ |
| 346 | ID: "test", |
| 347 | Key: generateSecret(t, 64), |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | func generateSecret(t *testing.T, size int) []byte { |
| 352 | t.Helper() |
no test coverage detected