From 76c80354b5d618e9d55a0f52a91595d2fe9ee6d8 Mon Sep 17 00:00:00 2001
From: Larry Aasen <larryaasen@gmail.com>
Date: Fri, 20 Dec 2024 07:59:57 -0500
Subject: [PATCH] Updated test upgrader_device_test.dart to handle the new
 model name for iOS and MacOS devices from changes in device_info_plus 11.2.0.

---
 test/upgrader_device_test.dart | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/upgrader_device_test.dart b/test/upgrader_device_test.dart
index 787fde80..88429778 100644
--- a/test/upgrader_device_test.dart
+++ b/test/upgrader_device_test.dart
@@ -139,6 +139,7 @@ Map _iosInfo({required String baseOS}) {
   final info = {
     'name': 'name',
     'model': 'model',
+    'modelName': 'modelName',
     'utsname': iosUtsnameMap,
     'systemName': 'systemName',
     'isPhysicalDevice': false,
@@ -171,6 +172,7 @@ Map _macOSInfo({required String baseOS}) {
     'hostName': 'a',
     'arch': 'a',
     'model': 'a',
+    'modelName': 'a',
     'kernelVersion': 'a',
     'osRelease':
         'Version $baseOS (Build 22D68)', // This is the only value used in the test.