forked from eatvio/eatvio_app
feat(tests): added services tests and fixtures
This commit is contained in:
40
test/fixtures/diary/diary_day_wrapper_response.json
vendored
Normal file
40
test/fixtures/diary/diary_day_wrapper_response.json
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user