Skip to content

Commit f97332a

Browse files
committed
Bump testcontainers
1 parent d58c14d commit f97332a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ scalacOptions += "-deprecation"
77
libraryDependencies ++= Seq(
88
"org.fusesource.jansi" % "jansi" % "1.18",
99
"org.scalatest" %% "scalatest" % "3.0.8" % "test",
10-
"com.dimafeng" %% "testcontainers-scala" % "0.37.0" % "test",
11-
"org.testcontainers" % "mysql" % "1.12.0" % "test",
12-
"org.testcontainers" % "postgresql" % "1.14.3" % "test"
10+
"com.dimafeng" %% "testcontainers-scala" % "0.38.7" % "test",
11+
"org.testcontainers" % "mysql" % "1.15.1" % "test",
12+
"org.testcontainers" % "postgresql" % "1.15.1" % "test"
1313
)
1414

src/test/scala/io/github/gitbucket/ci/MigrationSpec.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import liquibase.database.core.{H2Database, MySQLDatabase, PostgresDatabase}
99
import org.junit.runner.Description
1010
import org.scalatest.{FunSuite, Tag}
1111
import scala.jdk.CollectionConverters._
12+
import org.testcontainers.utility.DockerImageName
1213

1314
object ExternalDBTest extends Tag("ExternalDBTest")
1415

@@ -52,7 +53,7 @@ class MigrationSpec extends FunSuite {
5253

5354
Seq("11", "10").foreach { tag =>
5455
test(s"Migration PostgreSQL $tag", ExternalDBTest) {
55-
val container = PostgreSQLContainer(s"postgres:$tag")
56+
val container = PostgreSQLContainer(DockerImageName.parse(s"postgres:$tag"))
5657

5758
container.start()
5859
try {

0 commit comments

Comments
 (0)