mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Make test fail
This commit is contained in:
parent
a16a368b27
commit
7b4aa12460
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class ValidatorTests {
|
|||
assertThat(constraintViolations).hasSize(1);
|
||||
ConstraintViolation<Person> violation = constraintViolations.iterator().next();
|
||||
assertThat(violation.getPropertyPath().toString()).isEqualTo("firstName");
|
||||
assertThat(violation.getMessage()).isEqualTo("must not be empty");
|
||||
assertThat(violation.getMessage()).isEqualTo(null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue