diff --git a/RNNotifications/RNNotificationsTests/RNNotificationEventHandlerTests.m b/RNNotifications/RNNotificationsTests/RNNotificationEventHandlerTests.m index c2c30390d74826b93ddfb19ded39f14d84541766..23f11b80e2d528fce8cffe432c8956504d47b4da 100644 --- a/RNNotifications/RNNotificationsTests/RNNotificationEventHandlerTests.m +++ b/RNNotifications/RNNotificationsTests/RNNotificationEventHandlerTests.m @@ -75,7 +75,7 @@ [[_mockedNotificationCenter expect] postNotificationName:RNNotificationOpened object:[OCMArg any] userInfo:[OCMArg checkWithBlock:^BOOL(id obj) { return ([[obj valueForKey:@"identifier"] isEqualToString:@"id"] && - [[[obj valueForKey:@"payload"] valueForKey:@"extraKey"] isEqualToString:@"extraValue"]); + [[obj valueForKey:@"extraKey"] isEqualToString:@"extraValue"]); }]]; [_uut didReceiveNotificationResponse:response completionHandler:testBlock]; [_mockedNotificationCenter verify];