Browse Source

Merge branch '2.6.x' into 2.7.x

Closes gh-30088
pull/30406/head
Andy Wilkinson 4 years ago
parent
commit
a3cdc4e799
  1. 3
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-profile/src/test/java/smoketest/profile/ActiveProfilesTests.java

3
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-profile/src/test/java/smoketest/profile/ActiveProfilesTests.java

@ -33,7 +33,8 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -33,7 +33,8 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Madhura Bhave
*/
@SpringBootTest(webEnvironment = WebEnvironment.NONE, properties = "enableEnvironmentPostProcessor=true") // gh-28530
@SpringBootTest(webEnvironment = WebEnvironment.NONE,
properties = { "enableEnvironmentPostProcessor=true", "server.port=0" }) // gh-28530
@ActiveProfiles("hello")
class ActiveProfilesTests {

Loading…
Cancel
Save