Skip to content

Commit

Permalink
fix: openfoodfacts#349 - unrelated robotoff result upgrade
Browse files Browse the repository at this point in the history
Impacted file:
* `api_getRobotoff_test.dart`: unrelated robotoff result upgrade
  • Loading branch information
monsieurtanuki committed Mar 30, 2022
1 parent 42b6dcd commit 18913f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/api_getRobotoff_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ void main() {
TestConstants.TEST_USER,
type: InsightType.CATEGORY);

expect(result.status, isNull);
expect(result.status, isNotNull);
expect(result.status, 'found');
expect(result.insights![0].type, InsightType.CATEGORY);
expect(result.insights![0].id, isNotNull);
expect(result.insights![0].barcode, isNotNull);
Expand Down

0 comments on commit 18913f8

Please sign in to comment.