Commit 2cbf088

derdilla <82763757+NobodyForNothing@users.noreply.github.com>
2024-05-01 10:24:25
fix tests
Signed-off-by: derdilla <82763757+NobodyForNothing@users.noreply.github.com>
1 parent 9b6ecc3
Changed files (3)
app/lib/screens/settings_screen.dart
@@ -45,6 +45,7 @@ class SettingsPage extends StatelessWidget {
             TitledColumn(title: Text(localizations.layout), children: [
               ListTile(
                 title: Text(localizations.enterTimeFormatScreen),
+                key: const Key('EnterTimeFormatScreen'),
                 subtitle: Text(settings.dateFormatString),
                 leading: const Icon(Icons.schedule),
                 trailing: const Icon(Icons.arrow_forward_ios),
app/test/ui/components/add_measurement_dialoge_test.dart
@@ -307,7 +307,7 @@ void main() {
 
       expect(result?.$1, isNull);
       expect(result?.$2, isA<MedicineIntake>()
-          .having((p0) => p0.timestamp.millisecondsSinceEpoch ~/ 2000, 'timestamp', openDialogeTimeStamp.millisecondsSinceEpoch ~/ 2000)
+          .having((p0) => p0.timestamp.millisecondsSinceEpoch ~/ 10000, 'timestamp', openDialogeTimeStamp.millisecondsSinceEpoch ~/ 10000)
           .having((p0) => p0.medicine, 'medicine', med2)
           .having((p0) => p0.dosis, 'dosis', 123.456),
       );
app/pubspec.lock
@@ -269,6 +269,14 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "8.2.4"
+  freezed_annotation:
+    dependency: transitive
+    description:
+      name: freezed_annotation
+      sha256: c3fd9336eb55a38cc1bbd79ab17573113a8deccd0ecbbf926cca3c62803b5c2d
+      url: "https://pub.dev"
+    source: hosted
+    version: "2.4.1"
   function_tree:
     dependency: "direct main"
     description:
@@ -285,6 +293,13 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "2.1.2"
+  health_data_store:
+    dependency: "direct main"
+    description:
+      path: "../health_data_store"
+      relative: true
+    source: path
+    version: "0.1.0+1"
   http:
     dependency: transitive
     description:
@@ -313,10 +328,10 @@ packages:
     dependency: "direct main"
     description:
       name: intl
-      sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d"
+      sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
       url: "https://pub.dev"
     source: hosted
-    version: "0.18.1"
+    version: "0.19.0"
   js:
     dependency: transitive
     description:
@@ -333,6 +348,14 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "1.3.0"
+  json_annotation:
+    dependency: transitive
+    description:
+      name: json_annotation
+      sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
+      url: "https://pub.dev"
+    source: hosted
+    version: "4.9.0"
   leak_tracker:
     dependency: transitive
     description:
@@ -814,10 +837,10 @@ packages:
     dependency: transitive
     description:
       name: vm_service
-      sha256: a2662fb1f114f4296cf3f5a50786a2d888268d7776cf681aa17d660ffa23b246
+      sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
       url: "https://pub.dev"
     source: hosted
-    version: "14.0.0"
+    version: "14.2.1"
   watcher:
     dependency: transitive
     description: