From 04a01a49c2754c191b94573e02eee264193d7e94 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Tue, 8 Oct 2019 16:26:15 +0200 Subject: [PATCH] Use dedicated method to turn off authentication See gh-18538 --- .../autoconfigure/data/neo4j/DataNeo4jTestIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTestIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTestIntegrationTests.java index 493705b7ec..eba313f1ab 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTestIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTestIntegrationTests.java @@ -46,7 +46,7 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType; class DataNeo4jTestIntegrationTests { @Container - static final Neo4jContainer neo4j = new Neo4jContainer<>().withAdminPassword(null); + static final Neo4jContainer neo4j = new Neo4jContainer<>().withoutAuthentication(); @Autowired private Session session;