@@ -30,6 +30,10 @@ dependencies:
|
||||
# Use with the CupertinoIcons class for iOS style icons.
|
||||
cupertino_icons: ^1.0.0
|
||||
|
||||
dependency_overrides:
|
||||
stream_chat:
|
||||
path: ../../stream_chat
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
@@ -121,7 +121,7 @@ void main() {
|
||||
);
|
||||
|
||||
final errorMessage = 'Error! Error! Error!';
|
||||
final error = DioError(type: DioErrorType.RESPONSE, error: errorMessage);
|
||||
final error = DioError(type: DioErrorType.response, error: errorMessage);
|
||||
when(mockChannel.initialized).thenAnswer((_) => Future.error(error));
|
||||
|
||||
await tester.pumpWidget(
|
||||
|
||||
Reference in New Issue
Block a user