Skip to content

Commit

Permalink
Use latest 3.5.0 image for Neo4j.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-simons committed Dec 3, 2018
1 parent caf3f9f commit 72ba7ff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/usage/neo4j_container.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ public class ExampleTest {

This creates a Testcontainer based on the Docker image build with the Enterprise version of Neo4j.
The call to `withEnterpriseEdition` adds the required environment variable that you accepted the terms and condition of the enterprise version.
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.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public final class Neo4jContainer<S extends Neo4jContainer<S>> extends GenericCo
/**
* The default tag (version) to use.
*/
private static final String DEFAULT_TAG = "3.4.10";
private static final String DEFAULT_TAG = "3.5.0";

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void shouldDisableAuthentication() {
public void shouldCheckEnterpriseLicense() {
assumeThat(Neo4jContainerTest.class.getResource(ACCEPTANCE_FILE_LOCATION)).isNull();

String expectedImageName = "neo4j:3.4.10-enterprise";
String expectedImageName = "neo4j:3.5.0-enterprise";

assertThatExceptionOfType(IllegalStateException.class)
.isThrownBy(() -> new Neo4jContainer().withEnterpriseEdition())
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neo4j:3.4.10-enterprise
neo4j:3.5.0-enterprise

0 comments on commit 72ba7ff

Please sign in to comment.