@@ -34,6 +34,7 @@ void main() {
|
||||
.thenAnswer((_) => Stream.value(ConnectionStatus.connected));
|
||||
when(() => channelState.unreadCountStream)
|
||||
.thenAnswer((i) => Stream.value(1));
|
||||
when(() => clientState.totalUnreadCount).thenAnswer((i) => 1);
|
||||
when(() => clientState.totalUnreadCountStream)
|
||||
.thenAnswer((i) => Stream.value(1));
|
||||
when(() => channelState.membersStream).thenAnswer((i) => Stream.value([
|
||||
@@ -109,6 +110,7 @@ void main() {
|
||||
.thenAnswer((_) => Stream.value(ConnectionStatus.disconnected));
|
||||
when(() => client.wsConnectionStatus)
|
||||
.thenReturn(ConnectionStatus.disconnected);
|
||||
when(() => clientState.totalUnreadCount).thenAnswer((i) => 1);
|
||||
when(() => clientState.totalUnreadCountStream)
|
||||
.thenAnswer((i) => Stream.value(1));
|
||||
|
||||
@@ -171,6 +173,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));
|
||||
|
||||
@@ -375,6 +378,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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user