docs: fix typos throughout the tests (#16474)

This commit is contained in:
Mojtaba Hosseini authored and GitHub committed 2026-08-03 08:02:33 -07:00
1 parent 2b725af5cc
commit 94d913115f
4 files changed
+8 -8

No files matched your search

@@ -87,7 +87,7 @@
}
#pragma mark - Public Getter Methods
- (void)testPropertiesFromMetadatFile {
- (void)testPropertiesFromMetadataFile {
FIRCrashlyticsReport *report = [self createTempCopyOfReportWithName:@"metadata_only_report"];
XCTAssertEqualObjects(@"772929a7f21f4ad293bb644668f257cd", report.reportID);
@@ -545,14 +545,14 @@ class SignInWithCredentialTests: XCTestCase {
var cancellables = Set<AnyCancellable>()
let userSignInExpectation = expectation(description: "User signed in")
let emailCrendential = EmailAuthProvider.credential(
let emailCredential = EmailAuthProvider.credential(
withEmail: Self.email,
link: Self.fakeEmailSignInlink
)
// when
Auth.auth()
.signIn(with: emailCrendential)
.signIn(with: emailCredential)
.sink { completion in
switch completion {
case .finished:
@@ -586,14 +586,14 @@ class SignInWithCredentialTests: XCTestCase {
var cancellables = Set<AnyCancellable>()
let userSignInExpectation = expectation(description: "User disabled")
let emailCrendential = EmailAuthProvider.credential(
let emailCredential = EmailAuthProvider.credential(
withEmail: Self.email,
link: Self.fakeEmailSignInlink
)
// when
Auth.auth()
.signIn(with: emailCrendential)
.signIn(with: emailCredential)
.sink { completion in
if case let .failure(error as NSError) = completion {
XCTAssertNotNil(error.userInfo[NSLocalizedDescriptionKey])
+1 -1
View File
@@ -7,7 +7,7 @@ To run this app, you'll need the following steps.
1. Go to the [Firebase Console](https://console.firebase.google.com/)
2. Create a Firebase project if you don't have one already.
3. Create a new iOS App if you don't have one already.
4. Go to Project Overview -> General -> Your apps, select your iOS app and download the GoogleSerive-Info.plist file.
4. Go to Project Overview -> General -> Your apps, select your iOS app and download the GoogleService-Info.plist file.
#### Push notification provisioning profile
@@ -1195,7 +1195,7 @@ using firebase::firestore::util::TimerId;
}
- (void)testCanQueueWritesWhileOffline {
XCTestExpectation *writeEpectation = [self expectationWithDescription:@"successful write"];
XCTestExpectation *writeExpectation = [self expectationWithDescription:@"successful write"];
XCTestExpectation *networkExpectation = [self expectationWithDescription:@"enable network"];
FIRDocumentReference *doc = [self documentRef];
@@ -1208,7 +1208,7 @@ using firebase::firestore::util::TimerId;
[doc setData:data
completion:^(NSError *error) {
XCTAssertNil(error);
[writeEpectation fulfill];
[writeExpectation fulfill];
}];
[firestore enableNetworkWithCompletion:^(NSError *error) {