Skip to content

Commit 17496a9

Browse files
Fix argument name comments
1 parent 8a3b0b7 commit 17496a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

firebase-firestore/src/test/java/com/google/firebase/firestore/local/LocalStoreTestCase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public void testHandlesSetMutationThenAckThenRelease() {
311311
allocateQuery(query);
312312

313313
writeMutation(setMutation("foo/bar", map("foo", "bar")));
314-
notifyLocalViewChanges(viewChanges(2, /* synced= */ false, asList("foo/bar"), emptyList()));
314+
notifyLocalViewChanges(viewChanges(2, /* fromCache= */ false, asList("foo/bar"), emptyList()));
315315

316316
assertChanged(doc("foo/bar", 0, map("foo", "bar"), Document.DocumentState.LOCAL_MUTATIONS));
317317
assertContains(doc("foo/bar", 0, map("foo", "bar"), Document.DocumentState.LOCAL_MUTATIONS));
@@ -832,15 +832,15 @@ public void testPinsDocumentsInTheLocalView() {
832832
assertContains(doc("foo/baz", 0, map("foo", "baz"), Document.DocumentState.LOCAL_MUTATIONS));
833833

834834
notifyLocalViewChanges(
835-
viewChanges(2, /* synced= */ false, asList("foo/bar", "foo/baz"), emptyList()));
835+
viewChanges(2, /* fromCache= */ false, asList("foo/bar", "foo/baz"), emptyList()));
836836
applyRemoteEvent(updateRemoteEvent(doc("foo/bar", 1, map("foo", "bar")), none, two));
837837
applyRemoteEvent(updateRemoteEvent(doc("foo/baz", 2, map("foo", "baz")), two, none));
838838
acknowledgeMutation(2);
839839
assertContains(doc("foo/bar", 1, map("foo", "bar")));
840840
assertContains(doc("foo/baz", 2, map("foo", "baz")));
841841

842842
notifyLocalViewChanges(
843-
viewChanges(2, /* synced= */ false, emptyList(), asList("foo/bar", "foo/baz")));
843+
viewChanges(2, /* fromCache= */ false, emptyList(), asList("foo/bar", "foo/baz")));
844844
releaseQuery(query);
845845

846846
assertNotContains("foo/bar");

0 commit comments

Comments
 (0)