Ver código fonte

Fix HighlightManagerTest.

pull/667/head
Chris Smith 8 anos atrás
pai
commit
e80b2a6536

+ 1
- 0
test/com/dmdirc/ui/messages/HighlightManagerTest.java Ver arquivo

@@ -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
     }

Carregando…
Cancelar
Salvar