Our project uses 'com.github.zeldigas.spring.env.HoconPropertySourceLoader' to read hocon property files, i want to read my config for that files on a SpringBootTest environment. I defined my /src/main/resources/META-INF/spring.factories with this value:
org.springframework.boot.env.PropertySourceLoader=com.github.zeldigas.spring.env.HoconPropertySourceLoader
Main app works, but when i try to execute a basic test, it throws errors regarding db properties, since it can not read .conf files. I tried with a classic .properties files and works, but we need to read .conf files. any suggestions?
Aucun commentaire:
Enregistrer un commentaire