<Spring Boot Test with JPA Entities> I have a Spri...
# stackoverflow
u
Spring Boot Test with JPA Entities I have a Spring Boot application (written in Kotlin) which exposes a REST endpoint through a Controller QueueController. I'm testing that controller in a SpringBootTest by calling that endpoint using MockMvc as follows (some boilerplate omitted for readability): // QueueControllerIT.kt @SpringBootTest @AutoConfigureMockMvc @EnableAutoConfiguration( exclude = [ JpaRepositoriesAutoConfiguration::class, DataSourceAutoConfiguration::class,...