SyntaxFix
Write A Post
Hire A Developer
Questions
You could put an application.properties file in your test/resources folder. There you set
spring.profiles.active=test
This is kind of a default test profile while running tests.