Merge pull request #18538 from michael-simons

* pr/18538:
  Polish "Use dedicated method to turn off authentication"
  Use dedicated method to turn off authentication

Closes gh-18538
pull/18541/head
Stephane Nicoll 5 years ago
commit a171ed8649

@ -46,7 +46,7 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
class DataNeo4jTestIntegrationTests { class DataNeo4jTestIntegrationTests {
@Container @Container
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withAdminPassword(null); static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withoutAuthentication();
@Autowired @Autowired
private Session session; private Session session;

@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThat;
class DataNeo4jTestPropertiesIntegrationTests { class DataNeo4jTestPropertiesIntegrationTests {
@Container @Container
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withAdminPassword(null); static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withoutAuthentication();
@Autowired @Autowired
private Environment environment; private Environment environment;

@ -43,7 +43,7 @@ import static org.assertj.core.api.Assertions.assertThat;
class DataNeo4jTestWithIncludeFilterIntegrationTests { class DataNeo4jTestWithIncludeFilterIntegrationTests {
@Container @Container
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withAdminPassword(null); static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withoutAuthentication();
@Autowired @Autowired
private ExampleService service; private ExampleService service;

Loading…
Cancel
Save