()
| 15 | ) |
| 16 | |
| 17 | func testAuthConfig() service.AuthConfig { |
| 18 | return service.AuthConfig{ |
| 19 | Enabled: true, |
| 20 | JWKSPath: "testdata/auth-public-jwks.json", |
| 21 | Audience: "testaudience", |
| 22 | Domain: "https://testdomain", |
| 23 | ClientID: "testclientid", |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func genToken(t *testing.T, tenantID auth.TenantID, userID auth.UserID) string { |
| 28 | ac := testAuthConfig() |
no outgoing calls
no test coverage detected