diff --git a/test/validate_test.dart b/test/validate_test.dart index f675a1a8..9546bca9 100644 --- a/test/validate_test.dart +++ b/test/validate_test.dart @@ -330,6 +330,7 @@ main() { realIosDevice, realAndroidDevice, ]; + fakeProcessManager.calls = [callListIosDevices]; expect( () async => await deviceGuide( screens, allDevices, allEmulators, 'myScreenshots.yaml'), @@ -342,12 +343,13 @@ main() { expect(logger.errorText, ''); // print(logger.statusText); // print(logger.errorText); - + fakeProcessManager.verifyCalls(); }, skip: false, overrides: { Logger: () => BufferLogger(), // Logger: () => VerboseLogger(StdoutLogger()), Platform: () => FakePlatform.fromPlatform(const LocalPlatform()) ..operatingSystem = 'macos', + ProcessManager: () => fakeProcessManager, }); }); }