Commit 32a1cdf4 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Use dedicated method to turn off authentication"

See gh-18538
parent 04a01a49
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment