Merge branch '2.1.x'
Closes gh-17079
This commit is contained in:
@@ -74,8 +74,7 @@ class SampleProfileApplicationTests {
|
||||
|
||||
@Test
|
||||
void testGoodbyeProfileFromCommandline(CapturedOutput capturedOutput) {
|
||||
SampleProfileApplication
|
||||
.main(new String[] { "--spring.profiles.active=goodbye" });
|
||||
SampleProfileApplication.main(new String[] { "--spring.profiles.active=goodbye" });
|
||||
assertThat(capturedOutput).contains("Goodbye Everyone");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user