瀏覽代碼

Fix HighlightManagerTest.

pull/667/head
Chris Smith 8 年之前
父節點
當前提交
e80b2a6536
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      test/com/dmdirc/ui/messages/HighlightManagerTest.java

+ 1
- 0
test/com/dmdirc/ui/messages/HighlightManagerTest.java 查看文件

@@ -77,6 +77,7 @@ public class HighlightManagerTest {
77 77
         when(connection.getWindowModel()).thenReturn(windowModel);
78 78
 
79 79
         when(channel.getEventBus()).thenReturn(eventBus);
80
+        when(channel.getConnection()).thenReturn(Optional.of(connection));
80 81
 
81 82
         manager = new HighlightManager(windowModel, configProvider, colourManager);
82 83
     }

Loading…
取消
儲存