You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We expect the unit tests to pass.
Other solution: if the business rules changed regarding the default language for product_name, we need to reflect that in our unit tests.
The text was updated successfully, but these errors were encountered:
Description
Starting about 3 days ago, the unit tests don't pass anymore, cf. https://github.com/monsieurtanuki/openfoodfacts-dart/actions/runs/6653878935/job/18080780143
When we ask for the
product_name
, we expect it to match the language (lc
) when relevant.In the following case, that means we expected
product_name
to be"Pfannkuchen"
, as we ask for a German localization and there's a localization in German.https://world.openfoodfacts.net/api/v3/product/2222222222225?fields=code,product_name,product_name_languages&lc=de&cc=de
Expected behavior
We expect the unit tests to pass.
Other solution: if the business rules changed regarding the default language for
product_name
, we need to reflect that in our unit tests.The text was updated successfully, but these errors were encountered: