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
@@ -118,8 +118,9 @@ void main() {
final clientState = MockClientState();
when(() => client.state).thenReturn(clientState);
when(() => clientState.totalUnreadCount).thenAnswer((_) => 0);
when(() => clientState.totalUnreadCountStream)
.thenAnswer((i) => Stream.value(0));
.thenAnswer((_) => Stream.value(0));
await tester.pumpWidget(
MaterialApp(