diff --git a/doc-examples/example-groovy/src/test/groovy/example/BookControllerTest.groovy b/doc-examples/example-groovy/src/test/groovy/example/BookControllerTest.groovy index e463a98cd..08518bb01 100644 --- a/doc-examples/example-groovy/src/test/groovy/example/BookControllerTest.groovy +++ b/doc-examples/example-groovy/src/test/groovy/example/BookControllerTest.groovy @@ -67,7 +67,7 @@ class BookControllerTest extends Specification implements TestPropertyProvider { @Override Map getProperties() { - container = new MySQLContainer<>(DockerImageName.parse("mysql").withTag("8.2")) + container = new MySQLContainer<>(DockerImageName.parse("mysql")) container.start() return CollectionUtils.mapOf( "datasources.default.url", container.getJdbcUrl(), diff --git a/doc-examples/example-java/src/test/java/example/BookControllerTest.java b/doc-examples/example-java/src/test/java/example/BookControllerTest.java index a03540d42..a8c333888 100644 --- a/doc-examples/example-java/src/test/java/example/BookControllerTest.java +++ b/doc-examples/example-java/src/test/java/example/BookControllerTest.java @@ -90,7 +90,7 @@ void testListBooksMicronautData() { @Override public Map getProperties() { - container = new MySQLContainer<>(DockerImageName.parse("mysql").withTag("8.2")); + container = new MySQLContainer<>(DockerImageName.parse("mysql")); container.start(); return CollectionUtils.mapOf( "datasources.default.url", container.getJdbcUrl(), diff --git a/doc-examples/example-kotlin/src/test/kotlin/example/BookControllerTest.kt b/doc-examples/example-kotlin/src/test/kotlin/example/BookControllerTest.kt index 28cfcf8e5..0c4cb04c9 100644 --- a/doc-examples/example-kotlin/src/test/kotlin/example/BookControllerTest.kt +++ b/doc-examples/example-kotlin/src/test/kotlin/example/BookControllerTest.kt @@ -82,7 +82,7 @@ class BookControllerTest : TestPropertyProvider { } override fun getProperties(): Map { - container = MySQLContainer(DockerImageName.parse("mysql").withTag("8.2")) + container = MySQLContainer(DockerImageName.parse("mysql")) container!!.start() return mapOf( "datasources.default.url" to container!!.jdbcUrl, diff --git a/doc-examples/example-kotlin/src/test/kotlin/example/SomeEntityRepositoryTest.kt b/doc-examples/example-kotlin/src/test/kotlin/example/SomeEntityRepositoryTest.kt index 87bf92516..ab16c4c9c 100644 --- a/doc-examples/example-kotlin/src/test/kotlin/example/SomeEntityRepositoryTest.kt +++ b/doc-examples/example-kotlin/src/test/kotlin/example/SomeEntityRepositoryTest.kt @@ -25,7 +25,7 @@ class SomeEntityRepositoryTest : TestPropertyProvider { } override fun getProperties(): Map { - container = MySQLContainer(DockerImageName.parse("mysql").withTag("8.2")) + container = MySQLContainer(DockerImageName.parse("mysql")) container!!.start() return mapOf( "datasources.default.url" to container!!.jdbcUrl, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1c11dba21..c87facc04 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,7 +15,7 @@ micronaut-validation = "4.3.0" micronaut-logging = "1.2.2" groovy = "4.0.13" -testcontainers = "1.19.3" +testcontainers = "1.19.4" # R2DBC Drivers @@ -33,7 +33,7 @@ managed-r2dbc-mssql = "1.0.2.RELEASE" # Gradle plugins micronaut-gradle-plugin = "4.2.1" -micronaut-testresources = "2.3.1" +micronaut-testresources = "2.3.2" kotlin-gradle-plugin = "1.9.22" [libraries]