<Spring boot - test properties overriden with prod...
# stackoverflow
u
Spring boot - test properties overriden with prod properties My test properties are overriden with those placed in production properties. At the very beggining I had both named application.yml but it didn't work, so I have changed like told in this post to application-test.yml and use profile. Now it looks like bellow (kotlin): @SpringBootTest @ExtendWith(SpringExtension::class) @ContextConfiguration(classes =...