(t *testing.T, claims map[string]any)
| 136 | } |
| 137 | |
| 138 | func cqpdTokenWithClaims(t *testing.T, claims map[string]any) string { |
| 139 | t.Helper() |
| 140 | payload, err := json.Marshal(claims) |
| 141 | require.NoError(t, err) |
| 142 | return "cqpd_" + base64.RawURLEncoding.EncodeToString(payload) + ".sig" |
| 143 | } |
| 144 | |
| 145 | func TestTeamFromToken(t *testing.T) { |
| 146 | t.Parallel() |
no outgoing calls
no test coverage detected