Skip to content

Commit

Permalink
fix: do not use deprecated method in postgres tests (#2623)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya authored Jul 4, 2024
1 parent 8e4728b commit d60fc7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/postgres/postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,9 @@ func TestSnapshotWithDockerExecFallback(t *testing.T) {

// postgresWithSQLDriver {
// 1. Start the postgres container and run any migrations on it
ctr, err := postgres.RunContainer(
ctr, err := postgres.Run(
ctx,
testcontainers.WithImage("docker.io/postgres:16-alpine"),
"docker.io/postgres:16-alpine",
postgres.WithDatabase(dbname),
postgres.WithUsername(user),
postgres.WithPassword(password),
Expand Down

0 comments on commit d60fc7c

Please sign in to comment.