fix tests

This commit is contained in:
Salvatore Giordano
2021-10-11 11:30:43 +02:00
parent 74c8e67406
commit b4e544930e
@@ -22,6 +22,8 @@ void main() {
.thenAnswer((_) => const Stream.empty());
when(() => channelClientState.messages).thenReturn([]);
when(() => channelClientState.isUpToDate).thenReturn(true);
when(() => channelClientState.isUpToDateStream)
.thenAnswer((_) => Stream.value(true));
});
// https://github.com/GetStream/stream-chat-flutter/issues/674