From 5f94e430d68f99dc3315ae23ee907b1d60c4d38e Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 15 May 2025 12:59:39 -0600 Subject: refactor: rename TestServer to OIDCServer --- test/integration/container_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/integration') 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)) -- cgit v1.2.3