@@ -311,7 +311,7 @@ public void testHandlesSetMutationThenAckThenRelease() {
311
311
allocateQuery (query );
312
312
313
313
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 ()));
315
315
316
316
assertChanged (doc ("foo/bar" , 0 , map ("foo" , "bar" ), Document .DocumentState .LOCAL_MUTATIONS ));
317
317
assertContains (doc ("foo/bar" , 0 , map ("foo" , "bar" ), Document .DocumentState .LOCAL_MUTATIONS ));
@@ -832,15 +832,15 @@ public void testPinsDocumentsInTheLocalView() {
832
832
assertContains (doc ("foo/baz" , 0 , map ("foo" , "baz" ), Document .DocumentState .LOCAL_MUTATIONS ));
833
833
834
834
notifyLocalViewChanges (
835
- viewChanges (2 , /* synced = */ false , asList ("foo/bar" , "foo/baz" ), emptyList ()));
835
+ viewChanges (2 , /* fromCache = */ false , asList ("foo/bar" , "foo/baz" ), emptyList ()));
836
836
applyRemoteEvent (updateRemoteEvent (doc ("foo/bar" , 1 , map ("foo" , "bar" )), none , two ));
837
837
applyRemoteEvent (updateRemoteEvent (doc ("foo/baz" , 2 , map ("foo" , "baz" )), two , none ));
838
838
acknowledgeMutation (2 );
839
839
assertContains (doc ("foo/bar" , 1 , map ("foo" , "bar" )));
840
840
assertContains (doc ("foo/baz" , 2 , map ("foo" , "baz" )));
841
841
842
842
notifyLocalViewChanges (
843
- viewChanges (2 , /* synced = */ false , emptyList (), asList ("foo/bar" , "foo/baz" )));
843
+ viewChanges (2 , /* fromCache = */ false , emptyList (), asList ("foo/bar" , "foo/baz" )));
844
844
releaseQuery (query );
845
845
846
846
assertNotContains ("foo/bar" );
0 commit comments