Polish "Use dedicated method to turn off authentication"
See gh-18538
This commit is contained in:
parent
04a01a49c2
commit
32a1cdf4d3
|
|
@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||
class DataNeo4jTestPropertiesIntegrationTests {
|
||||
|
||||
@Container
|
||||
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withAdminPassword(null);
|
||||
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withoutAuthentication();
|
||||
|
||||
@Autowired
|
||||
private Environment environment;
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||
class DataNeo4jTestWithIncludeFilterIntegrationTests {
|
||||
|
||||
@Container
|
||||
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withAdminPassword(null);
|
||||
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withoutAuthentication();
|
||||
|
||||
@Autowired
|
||||
private ExampleService service;
|
||||
|
|
|
|||
Loading…
Reference in New Issue