forked from eatvio/eatvio_app
feat(app): refactoring of sentry using, feat(become_consultant): fixed possible infinite loading, feat(push_notifications): fixed push navigation from paid plan push
This commit is contained in:
@@ -140,7 +140,7 @@ void main() {
|
||||
when(mockRepository.sendEmailCode())
|
||||
.thenAnswer((_) async => {});
|
||||
when(mockRepository.tryVerifyEmailByCode('wrong'))
|
||||
.thenAnswer((_) async => false);
|
||||
.thenThrow(Exception('Неверный код'));
|
||||
|
||||
await cubit!.sendEmailCode();
|
||||
await cubit!.tryVerify('wrong');
|
||||
|
||||
Reference in New Issue
Block a user