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 9f66dea commit 70326eeCopy full SHA for 70326ee
firebase-firestore/src/test/java/com/google/firebase/firestore/remote/MockDatastore.java
@@ -94,6 +94,11 @@ public void watchQuery(TargetData targetData) {
94
// Snapshot version is ignored on the wire
95
TargetData sentTargetData =
96
targetData.withResumeToken(targetData.getResumeToken(), SnapshotVersion.NONE);
97
+
98
+ if (targetData.getExpectedCount() != null) {
99
+ sentTargetData = sentTargetData.withExpectedCount(targetData.getExpectedCount());
100
+ }
101
102
watchStreamRequestCount += 1;
103
this.activeTargets.put(targetData.getTargetId(), sentTargetData);
104
}
0 commit comments