I am trying to disable real Mongo connection and replace it with Fongo mock in tests.
Here is my test class:
try use
instead of @SpringBootTest(classes = TestConfig.class)