fix tests

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-04-02 19:19:20 +05:30
parent 9b36f012b3
commit 3ec389bd71
9 changed files with 23 additions and 26 deletions
@@ -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(