File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
FirebaseDatabase/Tests/Integration Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ];
You can’t perform that action at this time.
0 commit comments