fix tests

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-06-17 14:35:20 +05:30
parent 837d6f3ad1
commit 0860acb61e
7 changed files with 59 additions and 37 deletions
@@ -45,6 +45,7 @@ void main() {
]);
when(() => client.wsConnectionStatusStream)
.thenAnswer((_) => Stream.value(ConnectionStatus.connecting));
when(() => clientState.totalUnreadCount).thenAnswer((i) => 1);
when(() => clientState.totalUnreadCountStream)
.thenAnswer((i) => Stream.value(1));