Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Łukasz Bigorajski authored and lukasz-bigorajski committed Aug 19, 2024
1 parent 571adc0 commit a756bda
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ trait WithPostgresqlDB {

var conn: Connection = _

override val container: PostgreSQLContainer =
PostgreSQLContainer(DockerImageName.parse("postgres:13"))

{
override val container: PostgreSQLContainer = {
val container = PostgreSQLContainer(DockerImageName.parse("postgres:13"))
container.container.setPortBindings(List("5432:5432").asJava)
container
}

private val driverClassName = "org.postgresql.Driver"
Expand Down

0 comments on commit a756bda

Please sign in to comment.