forked from eatvio/eatvio_app
fix: analyzer
This commit is contained in:
@@ -99,7 +99,7 @@ void main() {
|
||||
test('getTokenByCredentials - обработка различных типов ошибок', () async {
|
||||
authCubit = AuthCubit(authRepository: mockAuthRepository);
|
||||
when(mockAuthRepository.getTokenByCredentials(any, any))
|
||||
.thenThrow(FormatException('Invalid credentials format'));
|
||||
.thenThrow(const FormatException('Invalid credentials format'));
|
||||
|
||||
final result = await authCubit!.getTokenByCredentials('invalid', 'pass');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user