File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/neo4j/src/test/java/org/testcontainers/containers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,22 +74,22 @@ void shouldCopyDatabase() {
7474 void shouldFailOnCopyDatabaseForDefaultNeo4j4Image () {
7575 assertThatIllegalArgumentException ()
7676 .isThrownBy (() -> {
77- new Neo4jContainer ("neo4j:4.4.1 " ).withDatabase (MountableFile .forClasspathResource ("/test-graph.db" ));
77+ new Neo4jContainer ("neo4j:4.4" ).withDatabase (MountableFile .forClasspathResource ("/test-graph.db" ));
7878 })
7979 .withMessage ("Copying database folder is not supported for Neo4j instances with version 4.0 or higher." );
8080 }
8181
8282 @ Test
83- void shouldFailOnCopyDatabaseForCustomNeo4j4Image () {
83+ void shouldFailOnCopyDatabaseForCustomNeo4j5Image () {
8484 assertThatIllegalArgumentException ()
8585 .isThrownBy (() -> {
86- new Neo4jContainer ("neo4j:5.26.10 " ).withDatabase (MountableFile .forClasspathResource ("/test-graph.db" ));
86+ new Neo4jContainer ("neo4j:5.26" ).withDatabase (MountableFile .forClasspathResource ("/test-graph.db" ));
8787 })
8888 .withMessage ("Copying database folder is not supported for Neo4j instances with version 4.0 or higher." );
8989 }
9090
9191 @ Test
92- void shouldFailOnCopyDatabaseForCustomNonSemverNeo4j4Image () {
92+ void shouldFailOnCopyDatabaseForCustomNonSemverNeo4jLatestImage () {
9393 assertThatIllegalArgumentException ()
9494 .isThrownBy (() -> {
9595 new Neo4jContainer ("neo4j:latest" ).withDatabase (MountableFile .forClasspathResource ("/test-graph.db" ));
You can’t perform that action at this time.
0 commit comments