-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed as not planned
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
Good Morning! I have to create some test cases using Junit5 with Spring Boot Integration.
I followed the same steps in the official documentation:
- Create a configuration file which replace main Spring boot configuration using h2 database embedded
- Create a test case Class with DataJpaTest and Import annotation together to link the previous configuration file
- When I run the tests I have the following error:
16:33:51.761 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class TerritorioRepositorySliceTest does not declare any static, non-private, non-final, nested classes annotated with @configuration.
16:33:51.946 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration for test class

RepositorySliceTest
Metadata
Metadata
Assignees
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid