Skip to content

Commit

Permalink
chore: unit tests data change (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurtanuki authored Feb 27, 2024
1 parent ea086b7 commit 41091f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/api_folksonomy_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ void main() {
OpenFoodAPIConfiguration.userAgent = TestConstants.TEST_USER_AGENT;

// of course we need to check that those 3 "known" guys combine well
const String knownBarcode = '9310036071174';
const String knownKey = 'packaging:character:wikidata';
const String knownValue = 'Q51785';
// cf. https://api.folksonomy.openfoodfacts.org/docs
const String knownBarcode = '8025386009180';
const String knownKey = 'producer_data_issue';
const String knownValue = 'proteins too large for category';

const String unknownBarcode = 'blablabla$knownBarcode';
const String unknownKey = 'blablabla$knownKey';
Expand Down

0 comments on commit 41091f1

Please sign in to comment.