Skip to content

Commit 9343c5e

Browse files
authored
added missing mock to MockEngine for iOS unit tests (flutter#17273)
1 parent af056a8 commit 9343c5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ @interface MockEngine : NSObject
2727
@end
2828

2929
@implementation MockEngine
30+
- (FlutterViewController*)viewController {
31+
return nil;
32+
}
3033
- (void)setViewController:(FlutterViewController*)viewController {
3134
// noop
3235
}

0 commit comments

Comments
 (0)