#391 - Assert compatibility with Lovelace RC1.
Upgrade from Lovelace M3 to Lovelace RC1 for examples requiring Lovelace. Upgrade to latest stable MongoDB drivers. Adapt to API changes. Un-pin examples that were previously bound to Spring Data Kay.
This commit is contained in:
@@ -189,9 +189,9 @@ public class ChangeStreamsTests {
|
||||
@Test
|
||||
public void reactiveChangeEvents() {
|
||||
|
||||
Flux<ChangeStreamEvent<Person>> changeStream = reactiveTemplate.changeStream(
|
||||
newAggregation(match(where("operationType").is("insert"))), Person.class, ChangeStreamOptions.empty(),
|
||||
"person");
|
||||
Flux<ChangeStreamEvent<Person>> changeStream = reactiveTemplate.changeStream("person",
|
||||
ChangeStreamOptions.builder().filter(newAggregation(match(where("operationType").is("insert")))).build(),
|
||||
Person.class);
|
||||
|
||||
StepVerifier.create(changeStream) //
|
||||
.expectSubscription() //
|
||||
|
||||
Reference in New Issue
Block a user