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 f3f6aef commit a42ae99
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 a42ae99

Please sign in to comment.