spring-petclinic
spring-petclinic copied to clipboard
A sample Spring-based application
Dev
- remove unnecessary semicolon in OwnerControllerTests
As described in #1351 the validation messages are not very user-friendly. Additionally the validation of the telephone number (which is a String value) with `@Digits` is faulty because leading zeros...
- According to the [AssertJ](https://assertj.github.io/doc/#assertj-core-assertions-guide) library, the `assertThat()` method must be followed by an assertion invocation, otherwise what is intended to be a test doesn't actually verify anything. - Replacing...
Simplified database configuration using the new Spring Boot Docker Compose feature. You can use MySQL or PostgreSQL by simply defining the Spring Boot profile: ```bash ./mvnw spring-boot:run -Dspring-boot.run.profiles=mysql ``` or...
Some assertions on the [CrashControllerIntegrationTests.java](https://github.com/spring-projects/spring-petclinic/pull/1473/files#diff-b80e2fde0993ebe0adc18778b36bb067bef24f146c85770e97a8534ce8611927) doesn't verify anything, according to the AssertJ library it's being used.