Polish "Use dedicated method to turn off authentication"

See gh-18538
This commit is contained in:
Stephane Nicoll 2019-10-08 11:13:51 -05:00
parent 04a01a49c2
commit 32a1cdf4d3
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;