mirror of
https://github.com/Uuttssaavv/flutter-clean-architecture-riverpod.git
synced 2025-08-26 02:10:45 +08:00
Dependecy upgrade and macos plarform added
This commit is contained in:
@ -53,10 +53,10 @@ void main() {
|
||||
},
|
||||
);
|
||||
test(
|
||||
'handle exception handles DioError with statusCode 1',
|
||||
'handle exception handles DioException with statusCode 1',
|
||||
() async {
|
||||
when(() => mockDioNetworkServide.dio.get(any())).thenThrow(
|
||||
DioError(requestOptions: RequestOptions(path: '')),
|
||||
DioException(requestOptions: RequestOptions(path: '')),
|
||||
);
|
||||
final resp = await mockDioNetworkServide.get('');
|
||||
resp.fold(
|
||||
|
Reference in New Issue
Block a user