SyntaxFix
Write A Post
Hire A Developer
Questions
Another option is to set the spring.config.location through @TestPropertySource:
spring.config.location
@TestPropertySource
@TestPropertySource(properties = { "spring.config.location = classpath:<path-to-your-yml-file>" }