Skip to content

Commit 43cf138

Browse files
committed
Fixed a unit test error.
1 parent 217d445 commit 43cf138

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sample/ios/ReactNativeAzureNotificationHubSampleTests/RCTAzureNotificationHubUtilTests.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@ - (void)testFormatLocalNotification
2323
NSArray *objects = [NSArray arrayWithObjects:@"userInfoObject", nil];
2424
NSDictionary *info = [[NSDictionary alloc] initWithObjects:objects forKeys:keys];
2525
notification.userInfo = info;
26-
notification.fireDate = [NSDate dateWithTimeIntervalSince1970:1000];
2726
notification.alertAction = @"alertAction";
2827
notification.alertBody = @"alertBody";
2928
notification.applicationIconBadgeNumber = 1;
3029
notification.category = @"category";
3130
notification.soundName = @"soundName";
3231
NSDictionary *expectedNotification = @{
3332
@"userInfo": @{ @"userInfoKey": @"userInfoObject" },
34-
@"fireDate": @"1969-12-31T19:16:40.000-05:00",
3533
@"alertAction": @"alertAction",
3634
@"alertBody": @"alertBody",
3735
@"applicationIconBadgeNumber": [NSNumber numberWithInt:1],

0 commit comments

Comments
 (0)