Browse Source

Align OffsetScrolling to zero-based indexes.

Closes #1764
pull/1772/head
Mark Paluch 2 years ago
parent
commit
a38b85c7fb
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 2
      spring-data-r2dbc/src/test/java/org/springframework/data/r2dbc/repository/support/AbstractSimpleR2dbcRepositoryIntegrationTests.java

2
spring-data-r2dbc/src/test/java/org/springframework/data/r2dbc/repository/support/AbstractSimpleR2dbcRepositoryIntegrationTests.java

@ -857,7 +857,7 @@ public abstract class AbstractSimpleR2dbcRepositoryIntegrationTests extends R2db @@ -857,7 +857,7 @@ public abstract class AbstractSimpleR2dbcRepositoryIntegrationTests extends R2db
repository
.findBy(Example.of(probe, matching().withIgnorePaths("id")),
q -> q.sortBy(Sort.by("name")).limit(2).scroll(ScrollPosition.offset(2))) //
q -> q.sortBy(Sort.by("name")).limit(2).scroll(ScrollPosition.offset(1))) //
.as(StepVerifier::create) //
.consumeNextWith(window -> {

Loading…
Cancel
Save