mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
Add unit test for initFindForm method in OwnerController
This commit is contained in:
parent
9dcff80f3d
commit
22fc7824a6
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ class OwnerControllerTest {
|
||||||
String view = ownerController.initFindForm();
|
String view = ownerController.initFindForm();
|
||||||
|
|
||||||
assertThat(view).isEqualTo("owners/findOwners");
|
assertThat(view).isEqualTo("owners/findOwners");
|
||||||
|
verifyNoInteractions(result, ownerRepository, redirectAttributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
@DisplayName("Test initCreationForm")
|
@DisplayName("Test initCreationForm")
|
||||||
|
|
Loading…
Reference in a new issue