From 7beb64043d3acfed32f37c0470ede1d3ac03e697 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 27 Feb 2019 13:55:28 +0100 Subject: [PATCH] Fix build failure --- .../context/logging/LoggingApplicationListenerTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java index 3124e24987..3d772143df 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java @@ -317,12 +317,12 @@ public class LoggingApplicationListenerTests { @Test public void parseDebugArgExpandGroups() { - TestPropertySourceUtils.addInlinedPropertiesToEnvironment(this.context, "debug"); + addPropertiesToEnvironment(this.context, "debug"); this.initializer.initialize(this.context.getEnvironment(), this.context.getClassLoader()); - this.logFactory.getInstance("org.springframework.boot.actuate.endpoint.web") + this.loggerContext.getLogger("org.springframework.boot.actuate.endpoint.web") .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("testdebugsqlgroup"); }