diff options
author | Vitaly Takmazov | 2017-12-11 22:55:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-12-11 22:55:51 +0300 |
commit | 2be12ebce3d600804227f6b74374c8db37921139 (patch) | |
tree | 37d8d0578e8e4eb666a28dcf30e5b4bf8f6dabee /juick-notifications/src/test/java/com/juick/components | |
parent | 18eebc950f6cf91ff9035c83836f0f56ed3d8bf4 (diff) |
fix some tests
Diffstat (limited to 'juick-notifications/src/test/java/com/juick/components')
-rw-r--r-- | juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java b/juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java index cc02b07d..9688e935 100644 --- a/juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java +++ b/juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java @@ -17,6 +17,7 @@ package com.juick.components.test; +import ch.qos.logback.classic.Level; import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.spi.LoggingEvent; import ch.qos.logback.core.Appender; @@ -62,6 +63,7 @@ public class NotificationTests { ch.qos.logback.classic.Logger root = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME); final Appender mockAppender = mock(Appender.class); when(mockAppender.getName()).thenReturn("MOCK"); + root.setLevel(Level.DEBUG); root.addAppender(mockAppender); cleanUp.cleanupTokens(); verify(mockAppender).doAppend(argThat(argument -> |