We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 388f267 commit d47b7c0Copy full SHA for d47b7c0
Firestore/Example/Tests/Integration/API/FIRServerTimestampTests.mm
@@ -220,8 +220,9 @@ - (void)testServerTimestampsWithConsecutiveUpdates {
220
serverTimestampBehavior:FIRServerTimestampBehaviorPrevious],
221
@42);
222
223
- [_docRef updateData:@{@"a" : [FIRFieldValue fieldValueForServerTimestamp]}];
224
- localSnapshot = [_accumulator awaitLocalEvent];
+ // include b=1 to ensure there's a change resulting in a new snapshot.
+ [_docRef updateData:@{@"a" : [FIRFieldValue fieldValueForServerTimestamp], @"b": @1}];
225
+ localSnapshol = [_accumulator awaitLocalEvent];
226
XCTAssertEqualObjects([localSnapshot valueForField:@"a"
227
228
0 commit comments