-
Notifications
You must be signed in to change notification settings - Fork 40.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combining @SpringBootTest and @DataJpaTest leads to confusing error #6345
Comments
@PWebb-Resmed that project is a bit weird. You are combining a So in one hand you're saying: "spring boot please only start the persistence layer and nothing else please because I want to focus on that" and on the other you're saying "start the container with that class and instead of mocking the MVC part, make sure to force the container to start". I've removed
|
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
The problem seems to occur in 1.4.0.M3 and 1.4.0.RC1, prior to M3 there's a totally different error.
I have a new application and a unit test, it works when running with the deprecated @SpringApplicationConfiguration , but not with the @SpringBootTest annotation. See the basic attached zip file.
test.zip
The text was updated successfully, but these errors were encountered: