Skip to content

Commit

Permalink
fix: do not use deprecated method in postgres tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Jul 4, 2024
1 parent 8e4728b commit 9d0829d
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
@@ -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),

0 comments on commit 9d0829d

Please sign in to comment.