diff --git a/packages/stream_chat/test/src/fakes.dart b/packages/stream_chat/test/src/fakes.dart index b4089512c..409418cdb 100644 --- a/packages/stream_chat/test/src/fakes.dart +++ b/packages/stream_chat/test/src/fakes.dart @@ -124,7 +124,10 @@ class FakeWebSocket extends Fake implements WebSocket { Completer? connectionCompleter; @override - Future connect(User user) async { + Future connect( + User user, { + bool? includeUserDetails = true, + }) async { connectionStatus = ConnectionStatus.connecting; final event = Event( type: EventType.healthCheck, @@ -167,7 +170,10 @@ class FakeWebSocketWithConnectionError extends Fake implements WebSocket { Completer? connectionCompleter; @override - Future connect(User user) async { + Future connect( + User user, { + bool? includeUserDetails = true, + }) async { connectionStatus = ConnectionStatus.connecting; const error = StreamWebSocketError('Error Connecting'); connectionCompleter = Completer()..completeError(error);