Merge branch '2.0.x' into 2.1.x
Closes gh-17078
This commit is contained in:
@@ -78,8 +78,7 @@ public class SampleProfileApplicationTests {
|
||||
|
||||
@Test
|
||||
public void testGoodbyeProfileFromCommandline() throws Exception {
|
||||
SampleProfileApplication
|
||||
.main(new String[] { "--spring.profiles.active=goodbye" });
|
||||
SampleProfileApplication.main(new String[] { "--spring.profiles.active=goodbye" });
|
||||
String output = this.outputCapture.toString();
|
||||
assertThat(output).contains("Goodbye Everyone");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user