summaryrefslogtreecommitdiff
path: root/pkg/oidc
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/oidc')
-rw-r--r--pkg/oidc/oidc_test.go6
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)