Refine LoggingApplicationListenerTests

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

See gh-7639
pull/7763/head
Phillip Webb 8 years ago
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…
Cancel
Save