mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:25:50 +00:00
Update src/test/java/org/springframework/samples/petclinic/service/ClinicServiceTests.java
Co-authored-by: zral <73640367+zyberzebra@users.noreply.github.com>
This commit is contained in:
parent
d604a01984
commit
ca5785465f
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class ClinicServiceTests {
|
|||
owner.setCity("Wollongong");
|
||||
owner.setTelephone("4444444444");
|
||||
this.owners.save(owner);
|
||||
assertThat(owner.getId().longValue()).isNotZero();
|
||||
assertThat(owner.getId()).isNotZero();
|
||||
|
||||
owners = this.owners.findByLastName("Schultz", pageable);
|
||||
assertThat(owners.getTotalElements()).isEqualTo(found + 1);
|
||||
|
|
Loading…
Reference in a new issue