Spring-boot utilizes Spring profiles (http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-profiles.html) which allow for instance to have separate co
You can put your test specific properties into src/test/resources/config/application.properties.
src/test/resources/config/application.properties
The properties defined in this file will override those defined in src/main/resources/application.properties during testing.
src/main/resources/application.properties
For more information on why this works have a look at Spring Boots docs.