Skip to content

Commit 04a01a4

Browse files
michael-simonssnicoll
authored andcommitted
Use dedicated method to turn off authentication
See gh-18538
1 parent b11f50c commit 04a01a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTestIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
class DataNeo4jTestIntegrationTests {
4747

4848
@Container
49-
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withAdminPassword(null);
49+
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withoutAuthentication();
5050

5151
@Autowired
5252
private Session session;

0 commit comments

Comments
 (0)