Skip to content

Commit eec806f

Browse files
committed
Merge pull request #34775 from meistermeier
* pr/34775: Use current Neo4j version in testcontainers Closes gh-34775
2 parents 35b95f3 + 96919b4 commit eec806f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/howto/testing/testcontainers/dynamicproperties/MyIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@
3030
class MyIntegrationTests {
3131

3232
@Container
33-
static Neo4jContainer<?> neo4j = new Neo4jContainer<>("neo4j:4.2");
33+
static Neo4jContainer<?> neo4j = new Neo4jContainer<>("neo4j:5");
3434

3535
@Test
3636
void myTest() {

spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/howto/testing/testcontainers/vanilla/MyIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@
2828
class MyIntegrationTests {
2929

3030
@Container
31-
static Neo4jContainer<?> neo4j = new Neo4jContainer<>("neo4j:4.2");
31+
static Neo4jContainer<?> neo4j = new Neo4jContainer<>("neo4j:5");
3232

3333
@Test
3434
void myTest() {

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/testing/testcontainers/dynamicproperties/MyIntegrationTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ internal class MyIntegrationTests {
3636
companion object {
3737

3838
@Container
39-
var neo4j: Neo4jContainer<*> = Neo4jContainer<Nothing>("neo4j:4.2")
39+
var neo4j: Neo4jContainer<*> = Neo4jContainer<Nothing>("neo4j:5")
4040

4141
@DynamicPropertySource
4242
fun neo4jProperties(registry: DynamicPropertyRegistry) {

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/testing/testcontainers/vanilla/MyIntegrationTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ internal class MyIntegrationTests {
3333

3434
companion object {
3535
@Container
36-
var neo4j: Neo4jContainer<*> = Neo4jContainer<Nothing>("neo4j:4.2")
36+
var neo4j: Neo4jContainer<*> = Neo4jContainer<Nothing>("neo4j:5")
3737
}
3838

3939
}

0 commit comments

Comments
 (0)