refactor: update the test to match the new characteristics structure

This commit is contained in:
Michel Jonathan Schmitz
2019-01-28 11:48:51 +01:00
committed by Jovan Krunić
parent 05d346b5c6
commit 5238abee57
2 changed files with 15 additions and 5 deletions

View File

@@ -53,8 +53,12 @@
} }
], ],
"characteristics": [ "characteristics": [
"bad", {
"vegetarian" "name": "bad"
},
{
"name": "vegetarian"
}
], ],
"additives": [ "additives": [
"Weizen", "Weizen",

View File

@@ -51,14 +51,18 @@
"main dish" "main dish"
], ],
"characteristics": [ "characteristics": [
"Rind" {
"name": "Rind"
}
], ],
"description": "Salsa Burger (1,2,3,9,A,G)", "description": "Salsa Burger (1,2,3,9,A,G)",
"name": "Salsa Burger", "name": "Salsa Burger",
"dishAddOns": [ "dishAddOns": [
{ {
"characteristics": [ "characteristics": [
"Vegan" {
"name": "Vegan"
}
], ],
"description": "Pommes frites", "description": "Pommes frites",
"type": "dish", "type": "dish",
@@ -88,7 +92,9 @@
}, },
{ {
"characteristics": [ "characteristics": [
"Vegan" {
"name": "Vegan"
}
], ],
"description": "Glasierte Karotten", "description": "Glasierte Karotten",
"type": "dish", "type": "dish",