Polishing.
Replace usage of StepVerifier.create with StepVerifier::create. Original pull request: #672 See #671
This commit is contained in:
committed by
Mark Paluch
parent
f98c7b9c93
commit
e66d317d47
@@ -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), //
|
||||
|
||||
Reference in New Issue
Block a user