소스 검색

Fix the channelwho unit test (should be improved really.)

pull/398/head
Greg Holmes 9 년 전
부모
커밋
6e50410b17
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      channelwho/test/com/dmdirc/addons/channelwho/ConnectionHandlerTest.java

+ 1
- 0
channelwho/test/com/dmdirc/addons/channelwho/ConnectionHandlerTest.java 파일 보기

@@ -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…
취소
저장