diff --git a/playground/ios/NavigationTests/RNNCommandsHandlerTest.mm b/playground/ios/NavigationTests/RNNCommandsHandlerTest.mm index 7e5f7138700..3c552258e91 100644 --- a/playground/ios/NavigationTests/RNNCommandsHandlerTest.mm +++ b/playground/ios/NavigationTests/RNNCommandsHandlerTest.mm @@ -180,6 +180,7 @@ - (void)testMergeOptions_shouldOverrideOptions { initialOptions:initialOptions]; __unused RNNStackController *nav = [[RNNStackController alloc] initWithRootViewController:vc]; + [self.mainWindow setRootViewController:nav]; [vc viewWillAppear:false]; XCTAssertTrue([vc.navigationItem.title isEqual:@"the title"]); diff --git a/playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme b/playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme index f6186cdf373..97be23aa463 100644 --- a/playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme +++ b/playground/ios/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme @@ -68,14 +68,6 @@ BlueprintName = "NavigationTests" ReferencedContainer = "container:playground.xcodeproj"> - - - - - -