Skip to content

Commit 7c4c134

Browse files
authored
Fix FirebaseDatabase integration test files content (#13781)
1 parent cf2348d commit 7c4c134

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

FirebaseDatabase/Tests/Integration/FData.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,10 +1190,10 @@ - (void)testEffectsOfSetPriorityIsImmediatelyEvident {
11901190
}];
11911191

11921192
NSArray *expectedValues = @[ @5, @5 ];
1193-
NSArray *expectedPriorites = @[ [NSNull null], @10 ];
1193+
NSArray *expectedPriorities = @[ [NSNull null], @10 ];
11941194
XCTAssertTrue([values isEqualToArray:expectedValues],
11951195
@"Expected both listeners to get 5, got %@ instead", values);
1196-
XCTAssertTrue([priorities isEqualToArray:expectedPriorites],
1196+
XCTAssertTrue([priorities isEqualToArray:expectedPriorities],
11971197
@"The first listener should have missed the priority, got %@ instead", priorities);
11981198
}
11991199

FirebaseDatabase/Tests/Integration/FTransactionTest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,14 +720,14 @@ - (void)testUpdateShouldNotCancelUnrelatedTransactions {
720720
barTransactionDone = YES;
721721
}];
722722

723-
NSDictionary *udpateData = @{
723+
NSDictionary *updateData = @{
724724
@"foo" : @"newValue",
725725
@"boo" : @"newValue",
726726
@"doo/foo" : @"newValue",
727727
@"loo" : @{@"doo" : @{@"boo" : @"newValue"}}
728728
};
729729

730-
[self waitForCompletionOf:ref updateChildValues:udpateData];
730+
[self waitForCompletionOf:ref updateChildValues:updateData];
731731
XCTAssertTrue(fooTransactionDone, "Should have gotten cancelled before the update");
732732
XCTAssertFalse(barTransactionDone, "Should run after the update");
733733
[ref.repo setHijackHash:NO];

0 commit comments

Comments
 (0)