my diets have been update

This commit is contained in:
Username1548
2025-02-17 14:40:31 +07:00
parent 070d7e1047
commit 291947bd32
98 changed files with 4969 additions and 2670 deletions

View File

@@ -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();