forked from firka/flutter
added missing mock to MockEngine for iOS unit tests (flutter/engine#17273)
This commit is contained in:
@@ -27,6 +27,9 @@ extern NSNotificationName const FlutterViewControllerWillDealloc;
|
||||
@end
|
||||
|
||||
@implementation MockEngine
|
||||
- (FlutterViewController*)viewController {
|
||||
return nil;
|
||||
}
|
||||
- (void)setViewController:(FlutterViewController*)viewController {
|
||||
// noop
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user