summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/container_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/container_test.go b/test/integration/container_test.go
index 4768c98..73724fb 100644
--- a/test/integration/container_test.go
+++ b/test/integration/container_test.go
@@ -14,10 +14,10 @@ import (
"github.com/stretchr/testify/require"
"github.com/testcontainers/testcontainers-go"
"github.com/xlgmokha/x/pkg/env"
- "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/oidc"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/web"
)
-func environmentVariables(srv *oidc.TestServer) map[string]string {
+func environmentVariables(srv *web.OIDCServer) map[string]string {
return map[string]string{
"APP_ENV": "test",
"DEBUG": env.Fetch("DEBUG", ""),
@@ -32,7 +32,7 @@ func TestContainer(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second)
defer cancel()
- srv := oidc.NewTestServer(t)
+ srv := web.NewOIDCServer(t)
defer srv.Close()
container := NewContainer(t, ctx, environmentVariables(srv))