Skip to content

Commit f5b09e3

Browse files
authored
Review FirebaseMessaging Tests files (#13402)
1 parent 604167c commit f5b09e3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

FirebaseMessaging/Tests/UnitTests/FIRMessagingExtensionHelperTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ - (void)testModifyNotificationWithValidPayloadData {
8383
[_mockExtensionHelper populateNotificationContent:content withContentHandler:handler];
8484
OCMVerify([_mockExtensionHelper loadAttachmentForURL:[OCMArg any]
8585
completionHandler:[OCMArg any]]);
86-
// Wait longer to accomodate increased network latency when running on CI.
86+
// Wait longer to accommodate increased network latency when running on CI.
8787
[self waitForExpectationsWithTimeout:5.0 handler:nil];
8888
}
8989
}

FirebaseMessaging/Tests/UnitTests/FIRMessagingPendingTopicsListTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ - (void)testBatchSizeReductionAfterSuccessfulTopicUpdate {
111111
pendingTopics.delegate = self.alwaysReadyDelegate;
112112

113113
XCTestExpectation *batchSizeReductionExpectation =
114-
[self expectationWithDescription:@"Batch size was reduced after topic suscription"];
114+
[self expectationWithDescription:@"Batch size was reduced after topic subscription"];
115115

116116
__weak id weakSelf = self;
117117
self.alwaysReadyDelegate.subscriptionHandler =

FirebaseMessaging/Tests/UnitTests/FIRMessagingPubSubTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ - (void)testTopicHasValidToicsPrefix {
8383
XCTAssertTrue([FIRMessagingPubSub hasTopicsPrefix:@"/topics/"]);
8484
}
8585

86-
/// Tests topic prefix wih no prefix.
86+
/// Tests topic prefix with no prefix.
8787
- (void)testAddTopicPrefix_withNoPrefix {
8888
NSString *topic = [FIRMessagingPubSub addPrefixToTopic:@""];
8989
XCTAssertTrue([FIRMessagingPubSub hasTopicsPrefix:topic]);

FirebaseMessaging/Tests/UnitTests/FIRMessagingRemoteNotificationsProxyTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ - (void)application:(GULApplication *)application
8686

8787
@end
8888

89-
#pragma mark - Incompete UNUserNotificationCenterDelegate
89+
#pragma mark - Incomplete UNUserNotificationCenterDelegate
9090
@interface IncompleteUserNotificationCenterDelegate : NSObject <UNUserNotificationCenterDelegate>
9191
@end
9292
@implementation IncompleteUserNotificationCenterDelegate

0 commit comments

Comments
 (0)