Use dedicated method to turn off authentication

See gh-18538
This commit is contained in:
Michael Simons
2019-10-08 16:26:15 +02:00
committed by Stephane Nicoll
parent b11f50c2a0
commit 04a01a49c2

View File

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