|
@@ -64,7 +64,7 @@
|
64
|
64
|
|
65
|
65
|
-(void)testTopBarBackgroundColorWithoutNavigationController{
|
66
|
66
|
NSNumber* inputColor = @(0xFFFF0000);
|
67
|
|
- self.options.topBar.background.color = [[Color alloc] initWithValue:inputColor];
|
|
67
|
+ self.options.topBar.background.color = [[Color alloc] initWithValue:[RCTConvert UIColor:inputColor]];
|
68
|
68
|
|
69
|
69
|
XCTAssertNoThrow([self.uut viewWillAppear:false]);
|
70
|
70
|
}
|
|
@@ -319,7 +319,7 @@
|
319
|
319
|
-(void)testTopBarTextFontFamily_invalidFont{
|
320
|
320
|
NSString* inputFont = @"HelveticaNeueeeee";
|
321
|
321
|
__unused RNNNavigationController* nav = [self createNavigationController];
|
322
|
|
- self.options.topBar.title.fontFamily = inputFont;
|
|
322
|
+ self.options.topBar.title.fontFamily = [[Text alloc] initWithValue:inputFont];
|
323
|
323
|
// XCTAssertThrows([self.uut viewWillAppear:false]);
|
324
|
324
|
}
|
325
|
325
|
|