Polishing.

Replace usage of StepVerifier.create with StepVerifier::create.

Original pull request: #672
See #671
This commit is contained in:
Christoph Strobl
2023-11-02 10:05:18 +01:00
committed by Mark Paluch
parent f98c7b9c93
commit e66d317d47
8 changed files with 58 additions and 26 deletions

View File

@@ -60,7 +60,8 @@ class ReactiveMongoTemplateIntegrationTest {
@BeforeEach
void setUp() {
StepVerifier.create(template.dropCollection(Person.class)).verifyComplete();
template.dropCollection(Person.class).as(StepVerifier::create) //
.verifyComplete();
var insertAll = template
.insertAll(Flux.just(new Person("Walter", "White", 50), //