#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:
Mark Paluch
2018-08-14 15:46:55 +02:00
parent 5d36233d17
commit cc3c595ec4
6 changed files with 14 additions and 18 deletions

View File

@@ -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() //