diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-existing-product.json b/tests/integration/expected_test_results/api_v2_product_read/get-existing-product.json index 21fd7ebb6738c..183fd8fd9e9c9 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-existing-product.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-existing-product.json @@ -112,7 +112,7 @@ "origins_of_ingredients" : { "aggregated_origins" : [ { - "epi_score" : 0, + "epi_score" : "0", "origin" : "en:unknown", "percent" : 100, "transportation_score" : 0 diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-fields-all-knowledge-panels.json b/tests/integration/expected_test_results/api_v2_product_read/get-fields-all-knowledge-panels.json index b171dd1a29394..42c4e6b3d4894 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-fields-all-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-fields-all-knowledge-panels.json @@ -112,7 +112,7 @@ "origins_of_ingredients" : { "aggregated_origins" : [ { - "epi_score" : 0, + "epi_score" : "0", "origin" : "en:unknown", "percent" : 100, "transportation_score" : 0 @@ -1820,7 +1820,7 @@ "title_element" : { "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/points-negative-1-10.svg", "subtitle" : "1/10 points (400kJ)", - "title" : "Calories" + "title" : "Energy" }, "topics" : [ "health" diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-fields-attribute-groups-all-knowledge-panels.json b/tests/integration/expected_test_results/api_v2_product_read/get-fields-attribute-groups-all-knowledge-panels.json index 3a102bf56b8eb..3145d85084916 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-fields-attribute-groups-all-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-fields-attribute-groups-all-knowledge-panels.json @@ -768,7 +768,7 @@ "origins_of_ingredients" : { "aggregated_origins" : [ { - "epi_score" : 0, + "epi_score" : "0", "origin" : "en:unknown", "percent" : 100, "transportation_score" : 0 @@ -2476,7 +2476,7 @@ "title_element" : { "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/points-negative-1-10.svg", "subtitle" : "1/10 points (400kJ)", - "title" : "Calories" + "title" : "Energy" }, "topics" : [ "health" diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_excluded-environment_card.json b/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_excluded-environment_card.json index 63c2ffeb8ad03..b43b03a271b47 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_excluded-environment_card.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_excluded-environment_card.json @@ -551,7 +551,7 @@ "title_element" : { "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/points-negative-1-10.svg", "subtitle" : "1/10 points (400kJ)", - "title" : "Calories" + "title" : "Energy" }, "topics" : [ "health" diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json b/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json index 93fc598af43ac..2f553995be436 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json @@ -1084,7 +1084,7 @@ "title_element" : { "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/points-negative-1-10.svg", "subtitle" : "1/10 points (400kJ)", - "title" : "Calories" + "title" : "Energy" }, "topics" : [ "health" diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels-fr.json b/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels-fr.json index a0bedbf0bdf33..13d87b3a1496f 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels-fr.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels-fr.json @@ -116,7 +116,7 @@ "title_element" : { "icon_color_from_evaluation" : true, "icon_url" : "http://static.openfoodfacts.localhost/images/icons/dist/car.svg", - "subtitle" : "286 g CO₂e pour 100g de produit", + "subtitle" : "286 g de CO₂e pour 100 g de produit", "title" : "Équivaut à parcourir 1.5 km dans une voiture à essence" }, "topics" : [ @@ -634,7 +634,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n Si les informations ne correspondent pas à celles figurant sur l'emballage, vous pouvez les compléter ou les corriger. Merci!\n Open Food Facts est une base de données collaborative, et chaque contribution est utile pour tous.\n " + "html" : "\n Si les informations ne correspondent pas à celles figurant sur l'emballage, vous pouvez les compléter ou les corriger. Merci !\n Open Food Facts est une base de données collaborative, et chaque contribution est utile pour tous.\n " } }, { @@ -858,7 +858,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\nCe que vous devez savoir\n
Le Nutri-Score est un logo sur la qualité nutritionnelle globale des produits.
\n\nLe score de A à E est calculé en fonction des nutriments et aliments à favoriser (protéines, fibres, fruits et légumes, légumes secs…) et des nutriments à limiter (calories, matières grasses saturées, sucres, sel).\nLe score est calculé à partir des données du tableau de la déclaration nutritionnelle et des données de composition (fruits, légumes et légumes secs).\n
\n\n ", + "html" : "Le Nutri-Score est un logo sur la qualité nutritionnelle globale des produits.
\n\nLe score de A à E est calculé en fonction des nutriments et aliments à favoriser (protéines, fibres, fruits et légumes, légumes secs…) et des nutriments à limiter (calories, acides gras saturés, sucres, sel).\nLe score est calculé à partir des données du tableau de la déclaration nutritionnelle et des données de composition (fruits, légumes et légumes secs).\n
\n\n ", "type" : "info" } }, diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels.json b/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels.json index d459e5fc008ab..57602bedbbea4 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels.json @@ -1114,7 +1114,7 @@ "title_element" : { "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/points-negative-1-10.svg", "subtitle" : "1/10 points (400kJ)", - "title" : "Calories" + "title" : "Energy" }, "topics" : [ "health" diff --git a/tests/integration/expected_test_results/api_v2_product_write/get-product-auth-good-password.json b/tests/integration/expected_test_results/api_v2_product_write/get-product-auth-good-password.json index c9a2b9615be7a..e9844b97ee490 100644 --- a/tests/integration/expected_test_results/api_v2_product_write/get-product-auth-good-password.json +++ b/tests/integration/expected_test_results/api_v2_product_write/get-product-auth-good-password.json @@ -111,7 +111,7 @@ "origins_of_ingredients" : { "aggregated_origins" : [ { - "epi_score" : 0, + "epi_score" : "0", "origin" : "en:unknown", "percent" : 100, "transportation_score" : 0 diff --git a/tests/integration/expected_test_results/api_v2_product_write/get-product-ingredients-text-without-language.json b/tests/integration/expected_test_results/api_v2_product_write/get-product-ingredients-text-without-language.json index cc5c5b04c5dbc..16bc76ca72984 100644 --- a/tests/integration/expected_test_results/api_v2_product_write/get-product-ingredients-text-without-language.json +++ b/tests/integration/expected_test_results/api_v2_product_write/get-product-ingredients-text-without-language.json @@ -97,7 +97,7 @@ "origins_of_ingredients" : { "aggregated_origins" : [ { - "epi_score" : 0, + "epi_score" : "0", "origin" : "en:unknown", "percent" : 100, "transportation_score" : 0 diff --git a/tests/integration/expected_test_results/api_v2_product_write/get-product.json b/tests/integration/expected_test_results/api_v2_product_write/get-product.json index cd412dedcf4da..c9ab86cb83fae 100644 --- a/tests/integration/expected_test_results/api_v2_product_write/get-product.json +++ b/tests/integration/expected_test_results/api_v2_product_write/get-product.json @@ -111,7 +111,7 @@ "origins_of_ingredients" : { "aggregated_origins" : [ { - "epi_score" : 0, + "epi_score" : "0", "origin" : "en:unknown", "percent" : 100, "transportation_score" : 0 diff --git a/tests/integration/expected_test_results/api_v2_product_write/post-product-auth-bad-user-password.html b/tests/integration/expected_test_results/api_v2_product_write/post-product-auth-bad-user-password.html index 0bb2dc2bb0833..93a9095f82116 100644 --- a/tests/integration/expected_test_results/api_v2_product_write/post-product-auth-bad-user-password.html +++ b/tests/integration/expected_test_results/api_v2_product_write/post-product-auth-bad-user-password.html @@ -244,7 +244,7 @@