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 {
@Container
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withAdminPassword(null);
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>().withoutAuthentication();
@Autowired
private Session session;

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

Loading…
Cancel
Save