Browse Source

unit test fix

yogevbd 6 years ago
parent
commit
3b80ea8651
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m

+ 2
- 2
lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m View File

@@ -19,7 +19,7 @@
19 19
 	[super setUp];
20 20
 //	[self.store setReadyToReceiveCommands:true];
21 21
 	self.store = [[RNNStore alloc] init];
22
-	self.uut = [[RNNCommandsHandler alloc] initWithStore:self.store controllerFactory:nil];
22
+	self.uut = [[RNNCommandsHandler alloc] initWithStore:self.store controllerFactory:nil eventEmitter:nil];
23 23
 }
24 24
 
25 25
 
@@ -38,7 +38,7 @@
38 38
 -(NSArray*) getPublicMethodNamesForObject:(NSObject*)obj{
39 39
 	NSMutableArray* skipMethods = [NSMutableArray new];
40 40
 
41
-	[skipMethods addObject:@"initWithStore:controllerFactory:"];
41
+	[skipMethods addObject:@"initWithStore:controllerFactory:eventEmitter:"];
42 42
 	[skipMethods addObject:@"assertReady"];
43 43
 	[skipMethods addObject:@".cxx_destruct"];
44 44