I had the same problem and finally the solution from @symbicator worked for me. But I needed to adjust the @TestPropertySource
annotation to @TestPropertySource(properties = {"camunda.bpm.enabled=false"})
. The full set of annotations to my test class looks like this:
@RunWith(SpringRunner.class)
@DataJpaTest
@TestPropertySource(
properties = {"camunda.bpm.enabled=false"}
)
public class JpaTests {...}