diff --git a/FirebaseDatabase/Tests/Integration/FData.m b/FirebaseDatabase/Tests/Integration/FData.m index 9570cc1c5aa..eb7aa1787bc 100644 --- a/FirebaseDatabase/Tests/Integration/FData.m +++ b/FirebaseDatabase/Tests/Integration/FData.m @@ -1190,10 +1190,10 @@ - (void)testEffectsOfSetPriorityIsImmediatelyEvident { }]; NSArray *expectedValues = @[ @5, @5 ]; - NSArray *expectedPriorites = @[ [NSNull null], @10 ]; + NSArray *expectedPriorities = @[ [NSNull null], @10 ]; XCTAssertTrue([values isEqualToArray:expectedValues], @"Expected both listeners to get 5, got %@ instead", values); - XCTAssertTrue([priorities isEqualToArray:expectedPriorites], + XCTAssertTrue([priorities isEqualToArray:expectedPriorities], @"The first listener should have missed the priority, got %@ instead", priorities); } diff --git a/FirebaseDatabase/Tests/Integration/FTransactionTest.m b/FirebaseDatabase/Tests/Integration/FTransactionTest.m index 531e4a6ec95..935bc4a5561 100644 --- a/FirebaseDatabase/Tests/Integration/FTransactionTest.m +++ b/FirebaseDatabase/Tests/Integration/FTransactionTest.m @@ -720,14 +720,14 @@ - (void)testUpdateShouldNotCancelUnrelatedTransactions { barTransactionDone = YES; }]; - NSDictionary *udpateData = @{ + NSDictionary *updateData = @{ @"foo" : @"newValue", @"boo" : @"newValue", @"doo/foo" : @"newValue", @"loo" : @{@"doo" : @{@"boo" : @"newValue"}} }; - [self waitForCompletionOf:ref updateChildValues:udpateData]; + [self waitForCompletionOf:ref updateChildValues:updateData]; XCTAssertTrue(fooTransactionDone, "Should have gotten cancelled before the update"); XCTAssertFalse(barTransactionDone, "Should run after the update"); [ref.repo setHijackHash:NO];