Skip to content

Commit

Permalink
Updated test upgrader_device_test.dart to handle the new model name f…
Browse files Browse the repository at this point in the history
…or iOS and MacOS devices from changes in device_info_plus 11.2.0.
  • Loading branch information
larryaasen committed Dec 20, 2024
1 parent 90021ee commit 76c8035
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/upgrader_device_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ Map _iosInfo({required String baseOS}) {
final info = {
'name': 'name',
'model': 'model',
'modelName': 'modelName',
'utsname': iosUtsnameMap,
'systemName': 'systemName',
'isPhysicalDevice': false,
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 76c8035

Please sign in to comment.