DATAREDIS-551 - Polishing.
Fix indentation. Original Pull Request: #220
This commit is contained in:
@@ -218,8 +218,8 @@ public abstract class RedisRepositoryIntegrationTestBase {
|
||||
repo.save(Arrays.asList(eddard, robb, jon));
|
||||
|
||||
Page<Person> firstPage = repo.findAll(new PageRequest(0, 2));
|
||||
assertThat(firstPage.getContent(), hasSize(2));
|
||||
assertThat(repo.findAll(firstPage.nextPageable()).getContent(), hasSize(1));
|
||||
assertThat(firstPage.getContent(), hasSize(2));
|
||||
assertThat(repo.findAll(firstPage.nextPageable()).getContent(), hasSize(1));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -235,9 +235,9 @@ public abstract class RedisRepositoryIntegrationTestBase {
|
||||
repo.save(Arrays.asList(eddard, robb, jon));
|
||||
|
||||
Page<Person> firstPage = repo.findBy(new PageRequest(0, 2));
|
||||
assertThat(firstPage.getContent(), hasSize(2));
|
||||
assertThat(firstPage.getTotalElements(), is(equalTo(3L)));
|
||||
assertThat(repo.findBy(firstPage.nextPageable()).getContent(), hasSize(1));
|
||||
assertThat(firstPage.getContent(), hasSize(2));
|
||||
assertThat(firstPage.getTotalElements(), is(equalTo(3L)));
|
||||
assertThat(repo.findBy(firstPage.nextPageable()).getContent(), hasSize(1));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user