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 11b5ddb commit a43709fCopy full SHA for a43709f
Firestore/Example/Tests/Integration/API/FIRServerTimestampTests.mm
@@ -220,7 +220,8 @@ - (void)testServerTimestampsWithConsecutiveUpdates {
220
serverTimestampBehavior:FIRServerTimestampBehaviorPrevious],
221
@42);
222
223
- [_docRef updateData:@{@"a" : [FIRFieldValue fieldValueForServerTimestamp]}];
+ // include b=1 to ensure there's a change resulting in a new snapshot.
224
+ [_docRef updateData:@{@"a" : [FIRFieldValue fieldValueForServerTimestamp], @"b" : @1}];
225
localSnapshot = [_accumulator awaitLocalEvent];
226
XCTAssertEqualObjects([localSnapshot valueForField:@"a"
227
0 commit comments