diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-15 12:59:39 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-15 12:59:39 -0600 |
| commit | 5f94e430d68f99dc3315ae23ee907b1d60c4d38e (patch) | |
| tree | 2cfb773b07904a97edc84839c8cdd4911acbb53f /test/integration/container_test.go | |
| parent | 942aeb91db2d4b34220b00139ff692a47d0c8b84 (diff) | |
refactor: rename TestServer to OIDCServer
Diffstat (limited to 'test/integration/container_test.go')
| -rw-r--r-- | test/integration/container_test.go | 6 |
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)) |
