diff --git a/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.mm b/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.mm index 6c5d6ff4b45a7..1ab6055767174 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.mm @@ -60,7 +60,7 @@ - (void)performOrientationUpdate:(UIInterfaceOrientationMask)new_preferences; @implementation FlutterViewControllerTest -- (void)testViewDidDisappearDoesntPauseEngine { +- (void)testViewDidDisappearDoesntPauseEngineWhenNotTheViewController { id engine = OCMClassMock([FlutterEngine class]); id lifecycleChannel = OCMClassMock([FlutterBasicMessageChannel class]); OCMStub([engine lifecycleChannel]).andReturn(lifecycleChannel); @@ -78,7 +78,7 @@ - (void)testViewDidDisappearDoesntPauseEngine { OCMReject([viewControllerMock surfaceUpdated:[OCMArg any]]); } -- (void)testViewDidDisappearDoesPauseEngine { +- (void)testViewDidDisappearDoesPauseEngineWhenIsTheViewController { id engine = OCMClassMock([FlutterEngine class]); id lifecycleChannel = OCMClassMock([FlutterBasicMessageChannel class]); OCMStub([engine lifecycleChannel]).andReturn(lifecycleChannel);