Skip to content

Commit a443b0c

Browse files
remove unused test
1 parent 3edc950 commit a443b0c

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

FirebaseMessaging/Tests/UnitTests/FIRMessagingTokenInfoTest.m

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)