SpringBootTest autodeployment not working

Hi community,

I’m trying to write a test for a process by using @SpringBootTest (Camunda Platform 7 documentation | docs.camunda.org). When I add my .bpmn file to src/main/resources it gets deployed, but if I add it to src/test/resources it doesn’t. The application.yml in my src/test/resources is used so the .bpmn should be on my classpath (Process Engine Configuration | docs.camunda.org). Any idea what causes this?

Thanks!