From 77ac2d82d8de0e5b921f647a9c79bec6071ea3e5 Mon Sep 17 00:00:00 2001 From: benbenben2 <110821832+benbenben2@users.noreply.github.com> Date: Sat, 21 Dec 2024 12:49:05 +0100 Subject: [PATCH] update unit test --- tests/unit/dataqualityfood.t | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/unit/dataqualityfood.t b/tests/unit/dataqualityfood.t index 516bd4f1a9e83..dbe926e9db971 100644 --- a/tests/unit/dataqualityfood.t +++ b/tests/unit/dataqualityfood.t @@ -1210,7 +1210,7 @@ $product_ref = { 'en:olive-oils', 'en:virgin-olive-oils', 'en:extra-virgin-olive-oils' ], - nutrition_grade_fr => "c", + nutrition_grade_fr => "b", nutriscore => { 2023 => {"nutrients_available" => 1,}, }, @@ -1221,11 +1221,6 @@ check_quality_and_test_product_has_quality_tag( 'en:nutri-score-grade-from-category-does-not-match-calculated-grade', 'Calculate nutriscore grade should be the same as the one provided in the taxonomy for this category', 0 ); -check_quality_and_test_product_has_quality_tag( - $product_ref, - 'en:nutri-score-grade-from-category-does-not-match-calculated-grade', - 'Calculate nutriscore grade should be the same as the one provided in the taxonomy for this category', 0 -); # category with expected ingredient. Prerequisite: "expected_ingredients:en: en:olive-oil" under "en:Extra-virgin olive oils" category, in the taxonomy # category with expected ingredient. Missing ingredients