We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2a10a9 commit d87b15fCopy full SHA for d87b15f
Example/Messaging/Tests/FIRMessagingReceiverTest.m
@@ -47,6 +47,8 @@ - (void)tearDown {
47
}
48
49
- (void)testUseMessagingDelegate {
50
+#pragma clang diagnostic push
51
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
52
XCTAssertFalse(_messaging.useMessagingDelegateForDirectChannel);
53
54
_messaging.useMessagingDelegateForDirectChannel = YES;
@@ -67,7 +69,7 @@ - (void)testUseMessagingDelegateFlagOverridedByPlistWithTrueValue {
67
69
OCMStub([bundleMock objectForInfoDictionaryKey:kFIRMessagingPlistUseMessagingDelegate])
68
70
.andReturn(@YES);
71
XCTAssertTrue(_messaging.useMessagingDelegateForDirectChannel);
-
72
+#pragma clang diagnostic pop
73
[bundleMock stopMocking];
74
75
@end
0 commit comments