• Andy Wilkinson's avatar
    Align precedence of @SpringBootTest properties with @TestPropertySource · 69b08291
    Andy Wilkinson authored
    This commit updates the precedence of properties configured using
    @SpringBootTest to align with @TestPropertySource. Properties configured
    using properties on @SpringBootTest are now added to the same property
    source as those configured using properties on @TestPropertySource so
    the precedence described in the javadoc of @TestPropertySource now
    applies in full. Additionally, if both @TestPropertySource properties
    and @SpringBootTest properties configure the same property, the value
    from @TestPropertySource will win.
    
    Closes gh-4828
    69b08291
Name
Last commit
Last update
..
META-INF/resources Loading commit data...
org/springframework/boot/test Loading commit data...
public Loading commit data...
resources Loading commit data...
static Loading commit data...
application.properties Loading commit data...
test-property-source-annotation.properties Loading commit data...
test.groovy Loading commit data...