Refine LoggingApplicationListenerTests

Update the Tomcat logging test to be more like the real scenario.

See gh-7639
This commit is contained in:
Phillip Webb 2016-12-21 12:11:49 -08:00
parent 765fd1dca0
commit 4aac1e3f90
1 changed files with 1 additions and 1 deletions

View File

@ -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");