mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 23:35:50 +00:00
Break a test
This commit is contained in:
parent
e2fbc56130
commit
07e34397b0
1 changed files with 2 additions and 2 deletions
|
@ -83,10 +83,10 @@ class ClinicServiceTests {
|
|||
|
||||
@Test
|
||||
void shouldFindOwnersByLastName() {
|
||||
Collection<Owner> owners = this.owners.findByLastName("Davis");
|
||||
Collection<Owner> owners = this.owners.findByLastName("Daviss");
|
||||
assertThat(owners).hasSize(2);
|
||||
|
||||
owners = this.owners.findByLastName("Daviss");
|
||||
owners = this.owners.findByLastName("Davis");
|
||||
assertThat(owners).isEmpty();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue