浏览代码

unit test fix

yogevbd 7 年前
父节点
当前提交
3b80ea8651
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m

+ 2
- 2
lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m 查看文件

19
 	[super setUp];
19
 	[super setUp];
20
 //	[self.store setReadyToReceiveCommands:true];
20
 //	[self.store setReadyToReceiveCommands:true];
21
 	self.store = [[RNNStore alloc] init];
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
 -(NSArray*) getPublicMethodNamesForObject:(NSObject*)obj{
38
 -(NSArray*) getPublicMethodNamesForObject:(NSObject*)obj{
39
 	NSMutableArray* skipMethods = [NSMutableArray new];
39
 	NSMutableArray* skipMethods = [NSMutableArray new];
40
 
40
 
41
-	[skipMethods addObject:@"initWithStore:controllerFactory:"];
41
+	[skipMethods addObject:@"initWithStore:controllerFactory:eventEmitter:"];
42
 	[skipMethods addObject:@"assertReady"];
42
 	[skipMethods addObject:@"assertReady"];
43
 	[skipMethods addObject:@".cxx_destruct"];
43
 	[skipMethods addObject:@".cxx_destruct"];
44
 
44