From 18913f80d37d33cb4dbc638fa3186422220ab791 Mon Sep 17 00:00:00 2001 From: monsieurtanuki Date: Wed, 30 Mar 2022 12:17:32 +0200 Subject: [PATCH] fix: #349 - unrelated robotoff result upgrade Impacted file: * `api_getRobotoff_test.dart`: unrelated robotoff result upgrade --- test/api_getRobotoff_test.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/api_getRobotoff_test.dart b/test/api_getRobotoff_test.dart index 31e3b62bbc..43e293b964 100644 --- a/test/api_getRobotoff_test.dart +++ b/test/api_getRobotoff_test.dart @@ -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);