feat(tests): added services tests and fixtures

This commit is contained in:
misha
2025-12-11 15:53:35 +03:00
parent d1753e99f8
commit 070a3e39e7
65 changed files with 2092 additions and 1130 deletions

View File

@@ -0,0 +1,40 @@
{
"diary": {
"id": 1,
"date": "2024-01-15",
"wakeup": "07:00",
"retire": "23:00",
"closed": 0,
"comment": "",
"state": {
"has_chosen_diet": false,
"has_chosen_plan": false,
"diary_state": null
},
"meals": [
{
"id": 1,
"time": "12:00",
"type_no": 1,
"satiety": 0,
"mood": 0,
"portions": [
{
"id": 1,
"product_nutritional_value_id": 10,
"product_name": "Яблоко",
"quantity": 2,
"portion": "100г",
"from_diet": false,
"state": "eaten"
}
],
"photos": []
}
],
"chosen_plan_id": null,
"day_of_chosen_diet": null,
"chosen_diet": null
}
}