I've created a simple application using Spring Boot, Kotlin & Mongodb. Now I would like to use the @Transactional annotation in the test CustomerServiceIntegrationTest to make sure each test case rolls back any changes it did to the database.
When I add @Transactional I get the message Failed to retrieve PlatformTransactionManager for @Transactional test
.
Writing to the db otherwise works fine.
What did I miss?