Skip to content

Commit

Permalink
Replace usage of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-farries committed Jul 31, 2024
1 parent 6ae6253 commit fc79a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/testutils/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ func SharedTestMain(m *testing.M) {
pgVersion = defaultPostgresVersion
}

ctr, err := postgres.RunContainer(ctx,
testcontainers.WithImage("postgres:"+pgVersion),
ctr, err := postgres.Run(ctx,
"postgres:"+pgVersion,
testcontainers.WithWaitStrategy(waitForLogs),
)
if err != nil {
Expand Down

0 comments on commit fc79a4a

Please sign in to comment.