Skip to content

Commit 459b9f6

Browse files
remove test that is dependent on other tests (#6021)
1 parent cab51d4 commit 459b9f6

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

FirebaseMessaging/Tests/UnitTests/FIRMessagingRemoteNotificationsProxyTest.m

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -316,29 +316,6 @@ - (void)testSwizzlingInvalidUserNotificationCenterDelegate {
316316
}
317317
}
318318

319-
- (void)testSwizzlingUserNotificationsCenterDelegate {
320-
#if TARGET_OS_IOS || TARGET_OS_OSX
321-
if (@available(macOS 10.14, iOS 10.0, *)) {
322-
FakeUserNotificationCenterDelegate *delegate =
323-
[[FakeUserNotificationCenterDelegate alloc] init];
324-
OCMStub([self.mockUserNotificationCenter delegate]).andReturn(delegate);
325-
[self.proxy swizzleMethodsIfPossible];
326-
327-
NSDictionary *message = @{@"message" : @""};
328-
id notification = [self userNotificationWithMessage:message];
329-
330-
OCMExpect([self.mockMessaging appDidReceiveMessage:message]);
331-
332-
[delegate userNotificationCenter:self.mockUserNotificationCenter
333-
willPresentNotification:notification
334-
withCompletionHandler:^(UNNotificationPresentationOptions options){
335-
}];
336-
337-
[self.mockMessaging verify];
338-
}
339-
#endif
340-
}
341-
342319
// Use a fake delegate that doesn't actually implement the needed delegate method.
343320
// Our swizzled method should not be called.
344321

0 commit comments

Comments
 (0)