Skip to content

Commit a0e7558

Browse files
Use latest 3.5.0 image for Neo4j.
1 parent d4f9ca1 commit a0e7558

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/usage/neo4j_container.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ public class ExampleTest {
9898

9999
This creates a Testcontainer based on the Docker image build with the Enterprise version of Neo4j.
100100
The call to `withEnterpriseEdition` adds the required environment variable that you accepted the terms and condition of the enterprise version.
101-
You accept those by adding a file named `container-license-acceptance.txt` to the root of your classpath containing the text `neo4j:3.4.10-enterprise` in one line.
101+
You accept those by adding a file named `container-license-acceptance.txt` to the root of your classpath containing the text `neo4j:3.5.0-enterprise` in one line.

modules/neo4j/src/main/java/org/testcontainers/containers/Neo4jContainer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public final class Neo4jContainer<S extends Neo4jContainer<S>> extends GenericCo
2929
/**
3030
* The default tag (version) to use.
3131
*/
32-
private static final String DEFAULT_TAG = "3.4.10";
32+
private static final String DEFAULT_TAG = "3.5.0";
3333

3434
private static final String DOCKER_IMAGE_NAME = DEFAULT_IMAGE_NAME + ":" + DEFAULT_TAG;
3535

modules/neo4j/src/test/java/org/testcontainers/containers/Neo4jContainerTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void shouldDisableAuthentication() {
4242
public void shouldCheckEnterpriseLicense() {
4343
assumeThat(Neo4jContainerTest.class.getResource(ACCEPTANCE_FILE_LOCATION)).isNull();
4444

45-
String expectedImageName = "neo4j:3.4.10-enterprise";
45+
String expectedImageName = "neo4j:3.5.0-enterprise";
4646

4747
assertThatExceptionOfType(IllegalStateException.class)
4848
.isThrownBy(() -> new Neo4jContainer().withEnterpriseEdition())
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
neo4j:3.4.10-enterprise
1+
neo4j:3.5.0-enterprise

0 commit comments

Comments
 (0)