forked from eatvio/eatvio_app
my diets have been update
This commit is contained in:
@@ -8,7 +8,7 @@ import 'package:eatvio_app/features/chat/services/chat_service.dart';
|
||||
import 'package:eatvio_app/features/diets/services/diet_service.dart';
|
||||
import 'package:eatvio_app/features/feed/services/feed_service.dart';
|
||||
import 'package:eatvio_app/features/profile/services/profile_service.dart';
|
||||
import 'package:eatvio_app/features/recipes/services/recipe_service.dart';
|
||||
import 'package:eatvio_app/features/create_recipe/services/recipe_service.dart';
|
||||
|
||||
sealed class TestCases {
|
||||
String get name => throw UnimplementedError();
|
||||
@@ -247,7 +247,7 @@ class GetRecipes implements TestCases {
|
||||
try {
|
||||
final dio = sl<Dio>();
|
||||
final feedService = FeedService(dio, baseUrl: baseUrl);
|
||||
final recipeService = RecipeService(dio, baseUrl: baseUrl);
|
||||
final recipeService = CreateRecipeService(dio, baseUrl: baseUrl);
|
||||
final tagsModel = await recipeService.getTags();
|
||||
final tags = tagsModel.data;
|
||||
final tagsIds = tags.map((e) => e.id).toList();
|
||||
@@ -431,7 +431,7 @@ class GetRecipesComments implements TestCases {
|
||||
try {
|
||||
final dio = sl<Dio>();
|
||||
final feedService = FeedService(dio, baseUrl: baseUrl);
|
||||
final recipeService = RecipeService(dio, baseUrl: baseUrl);
|
||||
final recipeService = CreateRecipeService(dio, baseUrl: baseUrl);
|
||||
final tagsModel = await recipeService.getTags();
|
||||
final tags = tagsModel.data;
|
||||
final tagsIds = tags.map((e) => e.id).toList();
|
||||
|
||||
Reference in New Issue
Block a user