Commit 7beb6404 authored by Stephane Nicoll's avatar Stephane Nicoll

Fix build failure

parent 7f817e33
...@@ -317,12 +317,12 @@ public class LoggingApplicationListenerTests { ...@@ -317,12 +317,12 @@ public class LoggingApplicationListenerTests {
@Test @Test
public void parseDebugArgExpandGroups() { public void parseDebugArgExpandGroups() {
TestPropertySourceUtils.addInlinedPropertiesToEnvironment(this.context, "debug"); addPropertiesToEnvironment(this.context, "debug");
this.initializer.initialize(this.context.getEnvironment(), this.initializer.initialize(this.context.getEnvironment(),
this.context.getClassLoader()); this.context.getClassLoader());
this.logFactory.getInstance("org.springframework.boot.actuate.endpoint.web") this.loggerContext.getLogger("org.springframework.boot.actuate.endpoint.web")
.debug("testdebugwebgroup"); .debug("testdebugwebgroup");
this.logFactory.getInstance("org.hibernate.SQL").debug("testdebugsqlgroup"); this.loggerContext.getLogger("org.hibernate.SQL").debug("testdebugsqlgroup");
assertThat(this.outputCapture.toString()).contains("testdebugwebgroup"); assertThat(this.outputCapture.toString()).contains("testdebugwebgroup");
assertThat(this.outputCapture.toString()).contains("testdebugsqlgroup"); assertThat(this.outputCapture.toString()).contains("testdebugsqlgroup");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment