I have a SpringBoot application with hibernate. In my tests I would like to disable any sort of db connection and configuration (tests don't have access to db). How should I do it ?
My test class is annotated with @SpringBootTest and has @Autowired properties. What's the proper annotation value to disable all db interactions ?
@SpringBootTest class MyTest { @Autowired .... }