[BAEL-14845] - Fixed tests in log4j2 module
This commit is contained in:
parent
36639e5feb
commit
62828091d9
|
@ -78,7 +78,7 @@
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>integration</id>
|
<id>integration-lite-first</id>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue