mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Polish "Use dedicated method to turn off authentication"
See gh-18538
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user