From 5238abee573ad916c0eca5155615f1958c90f3a8 Mon Sep 17 00:00:00 2001 From: Michel Jonathan Schmitz Date: Mon, 28 Jan 2019 11:48:51 +0100 Subject: [PATCH] refactor: update the test to match the new characteristics structure --- test/resources/Dish.2.json | 8 ++++++-- test/resources/Dish.3.json | 12 +++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/test/resources/Dish.2.json b/test/resources/Dish.2.json index 0a00cb1f..e61534a6 100644 --- a/test/resources/Dish.2.json +++ b/test/resources/Dish.2.json @@ -53,8 +53,12 @@ } ], "characteristics": [ - "bad", - "vegetarian" + { + "name": "bad" + }, + { + "name": "vegetarian" + } ], "additives": [ "Weizen", diff --git a/test/resources/Dish.3.json b/test/resources/Dish.3.json index 43fd7c22..e043045c 100644 --- a/test/resources/Dish.3.json +++ b/test/resources/Dish.3.json @@ -51,14 +51,18 @@ "main dish" ], "characteristics": [ - "Rind" + { + "name": "Rind" + } ], "description": "Salsa Burger (1,2,3,9,A,G)", "name": "Salsa Burger", "dishAddOns": [ { "characteristics": [ - "Vegan" + { + "name": "Vegan" + } ], "description": "Pommes frites", "type": "dish", @@ -88,7 +92,9 @@ }, { "characteristics": [ - "Vegan" + { + "name": "Vegan" + } ], "description": "Glasierte Karotten", "type": "dish",