diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-14 17:49:28 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-14 17:49:28 -0600 |
| commit | 564e140de454c78d7e6d34044bb78f53bd0b2bf3 (patch) | |
| tree | f85607ebfb2575bce94b5618250ebd957f965f6e /test/integration/container.go | |
| parent | 7797dffa1412ca0e5a0ba95eb8aa39cddce8d10e (diff) | |
test: remove old oidc test server
Diffstat (limited to 'test/integration/container.go')
| -rw-r--r-- | test/integration/container.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/integration/container.go b/test/integration/container.go index 651fcf5..0a210dd 100644 --- a/test/integration/container.go +++ b/test/integration/container.go @@ -10,6 +10,7 @@ import ( "github.com/docker/go-connections/nat" "github.com/stretchr/testify/require" "github.com/testcontainers/testcontainers-go" + "github.com/testcontainers/testcontainers-go/log" "github.com/testcontainers/testcontainers-go/wait" "github.com/xlgmokha/x/pkg/env" "github.com/xlgmokha/x/pkg/x" @@ -21,7 +22,8 @@ func NewContainer(t *testing.T, ctx context.Context, envVars map[string]string) ctx, env.Fetch("IMAGE_TAG", "sparkled:invalid"), testcontainers.WithEnv(envVars), - testcontainers.WithLogConsumers(&LogConsumer{t: t}), + testcontainers.WithLogConsumers(&Logger{TB: t}), + testcontainers.WithLogger(log.TestLogger(t)), testcontainers.WithWaitStrategy( wait.ForLog("Listening on"), wait.ForListeningPort(x.Must(nat.NewPort("tcp", "10000"))), |
