diff options
| author | mo khan <mo@mokhan.ca> | 2025-04-30 14:34:03 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-04-30 14:34:03 -0600 |
| commit | d6cd3e287e465ac33f1307f090ee82af019727ec (patch) | |
| tree | c5f5c838c6e239f23efd3887dfcb73a1ba135e74 /pkg/oidc/oidc_test.go | |
| parent | 513ed03b62565ac1bcd3a83ffa6aa47c5d5b7bc9 (diff) | |
test: ensure tests work offline
Diffstat (limited to 'pkg/oidc/oidc_test.go')
| -rw-r--r-- | pkg/oidc/oidc_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/oidc/oidc_test.go b/pkg/oidc/oidc_test.go index 3a0daf0..3318f18 100644 --- a/pkg/oidc/oidc_test.go +++ b/pkg/oidc/oidc_test.go @@ -10,10 +10,10 @@ import ( ) func TestOpenID(t *testing.T) { - t.Run("GET /.well-known/openid-configuration", func(t *testing.T) { - srv := test.NewOIDCServer(t) - defer srv.Close() + srv := test.NewOIDCServer(t) + defer srv.Close() + t.Run("GET /.well-known/openid-configuration", func(t *testing.T) { openID, err := New(context.Background(), srv.Issuer(), "client_id", "client_secret", "https://example.com/oauth/callback") require.NoError(t, err) |
