DATAJPA-575 - Adapted to deprecation removals in Spring Data Commons.

Related ticket: DATACMNS-469.
This commit is contained in:
Oliver Gierke
2014-07-16 11:59:07 +02:00
parent 5c563055c6
commit 2b4dfa2aeb

View File

@@ -507,7 +507,7 @@ public class UserRepositoryTests {
Page<User> users = repository.findAll(spec, new PageRequest(0, 1));
assertThat(users.getSize(), is(1));
assertThat(users.hasPreviousPage(), is(false));
assertThat(users.hasPrevious(), is(false));
assertThat(users.getTotalElements(), is(2L));
}