Refine LoggingApplicationListenerTests
Update the Tomcat logging test to be more like the real scenario. See gh-7639
This commit is contained in:
parent
765fd1dca0
commit
4aac1e3f90
|
@ -167,7 +167,7 @@ public class LoggingApplicationListenerTests {
|
|||
@Test
|
||||
public void tomcatNopLoggingConfigDoesNotCauseAFailure() throws Exception {
|
||||
TestPropertySourceUtils.addInlinedPropertiesToEnvironment(this.context,
|
||||
"logging.config: -Dnop");
|
||||
"LOGGING_CONFIG: -Dnop");
|
||||
this.initializer.initialize(this.context.getEnvironment(),
|
||||
this.context.getClassLoader());
|
||||
this.logger.info("Hello world");
|
||||
|
|
Loading…
Reference in New Issue