diff options
Diffstat (limited to 'app/middleware/id_token_test.go')
| -rw-r--r-- | app/middleware/id_token_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/middleware/id_token_test.go b/app/middleware/id_token_test.go index 06e9c96..95d9b40 100644 --- a/app/middleware/id_token_test.go +++ b/app/middleware/id_token_test.go @@ -10,16 +10,16 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/xlgmokha/x/pkg/log" + "github.com/xlgmokha/x/pkg/test" "github.com/xlgmokha/x/pkg/x" xcfg "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/cfg" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/oidc" - "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/test" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/web" "golang.org/x/oauth2" ) func TestIDToken(t *testing.T) { - srv := test.NewOIDCServer(t) + srv := oidc.NewTestServer(t) defer srv.Close() client := &http.Client{Transport: &web.Transport{Logger: log.New(os.Stdout, log.Fields{})}} |
