File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
FirebaseMessaging/Tests/UnitTests Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -72,20 +72,6 @@ - (void)tearDown {
7272 [super tearDown ];
7373}
7474
75- - (void )testTokenInfoCreationWithInvalidArchive {
76- NSData *badData = [@" badData" dataUsingEncoding: NSUTF8StringEncoding];
77- FIRMessagingTokenInfo *info = nil ;
78- @try {
79- #pragma clang diagnostic push
80- #pragma clang diagnostic ignored "-Wdeprecated-declarations"
81- info = [NSKeyedUnarchiver unarchiveObjectWithData: badData];
82- #pragma clang diagnostic pop
83- } @catch (NSException *e) {
84- XCTAssertEqualObjects ([e name ], @" NSInvalidArgumentException" );
85- }
86- XCTAssertNil (info);
87- }
88-
8975// Test that archiving a FIRMessagingTokenInfo object and restoring it from the archive
9076// yields the same values for all the fields.
9177- (void )testTokenInfoEncodingAndDecoding {
You can’t perform that action at this time.
0 commit comments