[BAEL-14845] - Fixed tests in log4j2 module

This commit is contained in:
amit2103 2019-06-08 16:36:34 +05:30
parent 36639e5feb
commit 62828091d9
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@
<profiles> <profiles>
<profile> <profile>
<id>integration</id> <id>integration-lite-first</id>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>

View File

@ -23,7 +23,7 @@ public class MapAppenderIntegrationTest {
@Test @Test
public void whenLoggerEmitsLoggingEvent_thenAppenderReceivesEvent() throws Exception { public void whenLoggerEmitsLoggingEvent_thenAppenderReceivesEvent() throws Exception {
logger.info("Test from {}", this.getClass() logger.error("Error log message from {}", this.getClass()
.getSimpleName()); .getSimpleName());
LoggerContext context = LoggerContext.getContext(false); LoggerContext context = LoggerContext.getContext(false);
Configuration config = context.getConfiguration(); Configuration config = context.getConfiguration();