feat(tests): added new tests and updated fixtures

This commit is contained in:
misha
2026-02-10 08:02:50 +03:00
parent c91e83adaf
commit f81aebe9d8
16 changed files with 591 additions and 102 deletions

View File

@@ -14,7 +14,54 @@
"meat": true
},
"description_md": "Keto diet description",
"daily_schedule": {},
"daily_schedule": {
"1": {
"1": {
"0": {
"name": "Яйца вареные",
"portion": "pcs",
"quantity": 2,
"product_nutritional_value_id": 401,
"nutrition": {
"energy": 155.0,
"proteins": 12.6,
"fats": 10.6,
"carbohydrates": 1.1
}
}
},
"2": {
"0": {
"name": "Авокадо",
"portion": "gr",
"quantity": 100,
"product_nutritional_value_id": 501,
"nutrition": {
"energy": 160.0,
"proteins": 2.0,
"fats": 14.0,
"carbohydrates": 9.0
}
}
}
},
"2": {
"1": {
"0": {
"name": "Лосось",
"portion": "gr",
"quantity": 150,
"product_nutritional_value_id": 502,
"nutrition": {
"energy": 312.0,
"proteins": 30.0,
"fats": 19.5,
"carbohydrates": 0.0
}
}
}
}
},
"author": {
"author_slug": "nutritionist-1",
"author_name": "Nutritionist Name",
@@ -28,7 +75,20 @@
"total_comments": 25,
"was_liked_by_me": false,
"is_favorite": false,
"daily_nutrition": []
"daily_nutrition": [
{
"energy": 627.0,
"proteins": 44.6,
"fats": 44.1,
"carbohydrates": 10.1
},
{
"energy": 312.0,
"proteins": 30.0,
"fats": 19.5,
"carbohydrates": 0.0
}
]
}
],
"links": {
@@ -50,4 +110,3 @@
"total_max_price": null
}
}