mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 09:09:01 +00:00
Merge branch '2.0.x' into 2.1.x
Closes gh-17078
This commit is contained in:
+1
-2
@@ -38,8 +38,7 @@ public class SampleLogbackApplicationTests {
|
||||
|
||||
@Test
|
||||
public void testProfile() throws Exception {
|
||||
SampleLogbackApplication
|
||||
.main(new String[] { "--spring.profiles.active=staging" });
|
||||
SampleLogbackApplication.main(new String[] { "--spring.profiles.active=staging" });
|
||||
this.outputCapture.expect(containsString("Sample Debug Message"));
|
||||
this.outputCapture.expect(containsString("Sample Trace Message"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user