Kotlintest and Spring Data JPA

@DataJpaTest does not appear to work with kotlintest. The tests fail with the error:

javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call

Note that the standard JUnit 5 test works.

See tests:

Run the tests with:

$ ./mvnw test