forked from eatvio/eatvio_app
new test cases
This commit is contained in:
@@ -267,7 +267,7 @@ class PlansCubit extends Cubit<PlansState> {
|
||||
Duration(milliseconds: 200),
|
||||
() async {
|
||||
try {
|
||||
await planRepository.addToFavorite(slug);
|
||||
await planRepository.removeFromFavorite(slug);
|
||||
} catch (e) {
|
||||
log(e.toString());
|
||||
showErrorToast('Произошла ошибка. Попробуйте ещё раз через некоторое время');
|
||||
|
||||
Reference in New Issue
Block a user