Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions FirebaseDatabase/Tests/Integration/FData.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
4 changes: 2 additions & 2 deletions FirebaseDatabase/Tests/Integration/FTransactionTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
Loading