From b8bd5dce8636ea9d1eae01d90c141b0326307383 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 1 Oct 2024 12:02:15 +0330 Subject: [PATCH 1/2] fix: a typo in a property name --- FirebaseDatabase/Tests/Integration/FData.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } From 3b1603f06a5ae12cef6336dc580ea2a071078a00 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 1 Oct 2024 12:02:41 +0330 Subject: [PATCH 2/2] fix: a typo in a property name --- FirebaseDatabase/Tests/Integration/FTransactionTest.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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];