Polish “Replace custom Neo4j container with Testcontainers version”
See gh-15638
This commit is contained in:
@@ -47,7 +47,8 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
||||
public class DataNeo4jTestIntegrationTests {
|
||||
|
||||
@ClassRule
|
||||
public static Neo4jContainer neo4j = new Neo4jContainer().withAdminPassword(null);
|
||||
public static Neo4jContainer<?> neo4j = new Neo4jContainer<>()
|
||||
.withAdminPassword(null);
|
||||
|
||||
@Autowired
|
||||
private Session session;
|
||||
|
||||
@@ -44,7 +44,8 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
public class DataNeo4jTestWithIncludeFilterIntegrationTests {
|
||||
|
||||
@ClassRule
|
||||
public static Neo4jContainer neo4j = new Neo4jContainer().withAdminPassword(null);
|
||||
public static Neo4jContainer<?> neo4j = new Neo4jContainer<>()
|
||||
.withAdminPassword(null);
|
||||
|
||||
@Autowired
|
||||
private ExampleService service;
|
||||
|
||||
Reference in New Issue
Block a user