Skip to content

Commit

Permalink
Update src/test/java/org/springframework/samples/petclinic/model/Vali…
Browse files Browse the repository at this point in the history
…datorTests.java

Co-authored-by: zral <[email protected]>
  • Loading branch information
2 people authored and dsyer committed May 16, 2024
1 parent 57eb744 commit d604a01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void shouldNotValidateWhenFirstNameEmpty() {

assertThat(constraintViolations).hasSize(1);
ConstraintViolation<Person> violation = constraintViolations.iterator().next();
assertThat(violation.getPropertyPath().toString()).hasToString("firstName");
assertThat(violation.getPropertyPath().hasToString("firstName");
assertThat(violation.getMessage()).isEqualTo("must not be blank");
}

Expand Down

0 comments on commit d604a01

Please sign in to comment.