Polish “Replace custom Neo4j container with Testcontainers version”
See gh-15638
This commit is contained in:
@@ -296,12 +296,12 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.testcontainers</groupId>
|
||||
<artifactId>testcontainers</artifactId>
|
||||
<artifactId>neo4j</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.testcontainers</groupId>
|
||||
<artifactId>neo4j</artifactId>
|
||||
<artifactId>testcontainers</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -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