Skip to content

Commit 0b8984a

Browse files
committed
Update test for AppInfo to correct firstInstallTime to a specific year
1 parent 8e39c4b commit 0b8984a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/app_info_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ void main() {
288288
expect(appInfo.appName, 'Full Test App');
289289
expect(appInfo.versionName, '3.2.1');
290290
expect(appInfo.versionCode, 321);
291-
expect(appInfo.firstInstallTime, DateTime(2024, 1, 1));
291+
expect(appInfo.firstInstallTime, DateTime(2024));
292292
expect(appInfo.lastUpdateTime, DateTime(2024, 12, 31));
293293
expect(appInfo.isSystem, false);
294294
expect(appInfo.iconBytes, isA<Uint8List>());

0 commit comments

Comments
 (0)