Skip to content

Commit 76c8035

Browse files
committed
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.
1 parent 90021ee commit 76c8035

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: test/upgrader_device_test.dart

+2
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ Map _iosInfo({required String baseOS}) {
139139
final info = {
140140
'name': 'name',
141141
'model': 'model',
142+
'modelName': 'modelName',
142143
'utsname': iosUtsnameMap,
143144
'systemName': 'systemName',
144145
'isPhysicalDevice': false,
@@ -171,6 +172,7 @@ Map _macOSInfo({required String baseOS}) {
171172
'hostName': 'a',
172173
'arch': 'a',
173174
'model': 'a',
175+
'modelName': 'a',
174176
'kernelVersion': 'a',
175177
'osRelease':
176178
'Version $baseOS (Build 22D68)', // This is the only value used in the test.

0 commit comments

Comments
 (0)