Skip to content

Commit 7beb640

Browse files
committed
Fix build failure
1 parent 7f817e3 commit 7beb640

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,12 +317,12 @@ public void parseDebugArg() {
317317

318318
@Test
319319
public void parseDebugArgExpandGroups() {
320-
TestPropertySourceUtils.addInlinedPropertiesToEnvironment(this.context, "debug");
320+
addPropertiesToEnvironment(this.context, "debug");
321321
this.initializer.initialize(this.context.getEnvironment(),
322322
this.context.getClassLoader());
323-
this.logFactory.getInstance("org.springframework.boot.actuate.endpoint.web")
323+
this.loggerContext.getLogger("org.springframework.boot.actuate.endpoint.web")
324324
.debug("testdebugwebgroup");
325-
this.logFactory.getInstance("org.hibernate.SQL").debug("testdebugsqlgroup");
325+
this.loggerContext.getLogger("org.hibernate.SQL").debug("testdebugsqlgroup");
326326
assertThat(this.outputCapture.toString()).contains("testdebugwebgroup");
327327
assertThat(this.outputCapture.toString()).contains("testdebugsqlgroup");
328328
}

0 commit comments

Comments
 (0)