ソースを参照

unit test fix

yogevbd 6 年 前
コミット
3b80ea8651
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2
    2
      lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m

+ 2
- 2
lib/ios/ReactNativeNavigationTests/RNNCommandsHandlerTest.m ファイルの表示

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