Polish "Use dedicated method to turn off authentication"

See gh-18538
pull/18541/head
Stephane Nicoll 5 years ago
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…
Cancel
Save