Explorar el Código

unit test fix

yogevbd hace 6 años
padre
commit
3b80ea8651
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m

+ 2
- 2
lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m Ver fichero

@@ -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