File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ void main() {
27
27
final Map <String , dynamic > NutritionalPlanDetailResponse = jsonDecode (
28
28
fixture ('nutrition/nutritional_plan_detail_response.json' ),
29
29
);
30
- final Map < String , dynamic > NutritionDiaryResponse = jsonDecode (
30
+ final List < dynamic > NutritionDiaryResponse = jsonDecode (
31
31
fixture ('nutrition/nutrition_diary_response.json' ),
32
- );
32
+ )[ 'results' ] ;
33
33
final Map <String , dynamic > Ingredient59887Response = jsonDecode (
34
34
fixture ('nutrition/ingredient_59887_response.json' ),
35
35
);
@@ -72,7 +72,7 @@ void main() {
72
72
when (mockWgerBaseProvider.fetch (planUri)).thenAnswer (
73
73
(realInvocation) => Future .value (NutritionalPlanDetailResponse ),
74
74
);
75
- when (mockWgerBaseProvider.fetch (diaryUri)).thenAnswer (
75
+ when (mockWgerBaseProvider.fetchPaginated (diaryUri)).thenAnswer (
76
76
(realInvocation) => Future .value (NutritionDiaryResponse ),
77
77
);
78
78
});
You can’t perform that action at this time.
0 commit comments