fix tests

This commit is contained in:
Salvatore Giordano
2020-12-23 12:33:03 +01:00
parent 941b04d72b
commit b56fe4729b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -24,6 +24,11 @@ void main() {
'name': 'test name',
});
when(channelState.unreadCount).thenReturn(1);
when(channelState.messages).thenReturn([
Message(
text: 'hello',
)
]);
when(channelState.lastMessage).thenReturn(Message(
text: 'hello',
));