From ceab119157b6081f02645bf5d97608e1f8cc2080 Mon Sep 17 00:00:00 2001 From: Open Food Facts Bot Date: Thu, 31 Oct 2024 16:50:11 +0000 Subject: [PATCH] test: Update tests results --- .../get-existing-product.json | 2 +- .../get-fields-all-knowledge-panels.json | 4 +- ...attribute-groups-all-knowledge-panels.json | 4 +- ...edge-panels_excluded-environment_card.json | 2 +- ...included-health_card-environment_card.json | 2 +- .../get-knowledge-panels-fr.json | 10 ++--- .../get-knowledge-panels.json | 2 +- .../get-product-auth-good-password.json | 2 +- ...uct-ingredients-text-without-language.json | 2 +- .../api_v2_product_write/get-product.json | 2 +- .../post-product-auth-bad-user-password.html | 36 ++++++++--------- .../get-existing-product-gs1-caret.json | 2 +- .../get-existing-product-gs1-data-uri.json | 2 +- .../get-existing-product-gs1-gs.json | 2 +- .../get-fields-all-knowledge-panels.json | 2 +- .../api_v3_product_read/get-fields-all.json | 2 +- ...attribute-groups-all-knowledge-panels.json | 4 +- ...edge-panels_excluded-environment_card.json | 2 +- ...included-health_card-environment_card.json | 2 +- .../get-knowledge-panels-fr.json | 6 +-- .../get-knowledge-panels.json | 2 +- .../normal-user-get-non-official-cc-lc.html | 6 +-- .../product_read/get-existing-product.html | 2 +- ...-protected-product-web-form-moderator.html | 38 +++++++++--------- .../edit-protected-product-web-form.html | 38 +++++++++--------- .../edit-unprotected-product-web-form.html | 38 +++++++++--------- .../web_html/es-ingredients.html | 6 +-- .../web_html/fr-brands.html | 34 ++++++++-------- .../web_html/fr-categories.html | 34 ++++++++-------- .../web_html/fr-countries.html | 34 ++++++++-------- .../web_html/fr-edit-product.html | 36 ++++++++--------- .../web_html/fr-index.html | 34 ++++++++-------- .../web_html/fr-labels.html | 34 ++++++++-------- .../web_html/fr-product-2.html | 40 +++++++++---------- .../web_html/fr-product.html | 40 +++++++++---------- .../web_html/fr-search-form.html | 34 ++++++++-------- .../web_html/fr-search-results-cached.html | 34 ++++++++-------- .../web_html/fr-search-results-no-cache.html | 34 ++++++++-------- .../web_html/fr-search-results.html | 34 ++++++++-------- .../web_html/world-product.html | 2 +- 40 files changed, 323 insertions(+), 323 deletions(-) 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\n
\nRecommandation :\nRéduire la consommation de matières grasses et d'acides gras saturés\n\n", + "html" : "\nCe que vous devez savoir\n\n
\nRecommandation :\nRéduire la consommation de matières grasses et d'acides gras saturés\n\n", "type" : "summary" } }, @@ -940,7 +940,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\nCe que vous devez savoir\n\n
\nRecommandation :\nRéduire la consommation de matières grasses et d'acides gras saturés\n\n", + "html" : "\nCe que vous devez savoir\n\n
\nRecommandation :\nRéduire la consommation de matières grasses et d'acides gras saturés\n\n", "type" : "summary" } }, @@ -1245,7 +1245,7 @@ { "element_type" : "text", "text_element" : { - "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, 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 @@
-

Aidez-nous à informer des millions de consommateurs à travers le monde sur ce qu’ils mangent

+

Aidez-nous à informer des millions de consommateurs à travers le monde sur ce qu'ils mangent

group photo donation 2024
@@ -257,25 +257,25 @@ src="//world.openfoodfacts.org/images/logos/logo-variants/CMJN-ICON_WHITE_BG_OFF.svg" alt="open food facts logo" /> -

Participez à notre Collecte de Dons 2024

+

Merci de contribuer à notre collecte de fonds 2024

-

Vos dons financent les opérations quotidiennes de notre association :

+

Vos dons financent le fonctionnement quotidien de notre association à but non lucratif :

  • - maintenir notre base de données ouverte et disponible à tou.te.s, + garder notre base de données ouverte et accessible à tous,
      -
    • infrastructure technique et une petite équipe permanente
    • +
    • infrastructure technique (site web/application mobile) et une petite équipe permanente
  • -

    rester indépendante de l’industrie agro-alimentaire,

    +

    rester indépendant de l'industrie alimentaire,

  • -

    animer une communauté de citoyen.ne.s engagé.e.s,

    +

    mobiliser une communauté de citoyens engagés,

  • -

    soutenir l’avancement des recherches en santé publique.

    +

    soutenir l’avancement de la recherche en santé publique.

@@ -284,7 +284,7 @@

Participez à notre Collecte de Dons 202

- Each donation counts! We appreciate your support in bringing further food transparency in the world. + Chaque don compte ! Nous apprécions votre soutien pour une plus grande transparence alimentaire dans le monde.

@@ -396,7 +396,7 @@

Erreur