spring-boot/spring-boot-test-autoconfigure
Stephane Nicoll ffa6d6d6e0 Improve error message used in TestDatabaseAutoConfiguration
By default, `@DataJpaTest` (and `@AutoConfigureTestDatabase`) attempt to
replace any existing `DataSource` by an embedded one. Previously, if
there is was no embedded database on the classpath, the exception message
did not provide that context in the error message.

This commit clarifies the error message to conduct
`TestDatabaseAutoConfiguration` (that is replacing the existing
`DataSource`).

Closes gh-7797
2017-01-19 16:13:49 +01:00
..
src Improve error message used in TestDatabaseAutoConfiguration 2017-01-19 16:13:49 +01:00
pom.xml Next development version 2016-12-23 00:15:23 +00:00