mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 10:19:03 +00:00
Merge branch '2.0.x' into 2.1.x
Closes gh-17078
This commit is contained in:
+1
-2
@@ -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