Browse Source

Merge pull request #398 from greboid/dev3

Fix the channelwho unit test.
pull/407/head
Chris Smith 9 years ago
parent
commit
a77438199b

+ 1
- 0
channelwho/test/com/dmdirc/addons/channelwho/ConnectionHandlerTest.java View File

@@ -96,6 +96,7 @@ public class ConnectionHandlerTest {
96 96
         when(groupChatUser.getNickname()).thenReturn("nickname");
97 97
         when(channelUserAwayEvent.getUser()).thenReturn(groupChatUser);
98 98
         when(channelUserAwayEvent.getChannel()).thenReturn(groupChat);
99
+        when(groupChat.getEventBus()).thenReturn(eventBus);
99 100
         when(groupChatUser.getUser()).thenReturn(user);
100 101
         instance = new ConnectionHandler(config, scheduledExecutorService, connectionManager,
101 102
                 "domain", connection);

Loading…
Cancel
Save