File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
firebase-firestore/src/test/java/com/google/firebase/firestore/local Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -850,13 +850,13 @@ public void testDocumentTypeIsSetToNoDocumentWhenUnknownDocumentDeleted() {
850850
851851 @ Test
852852 public void testDocumentTypeIsUpdatedToNoDocumentWhenFoundDocumentDeleted () {
853- Mutation setMutation = writeMutation (setMutation ("coll/a" , map ("foo" , "bar" )));
854- acknowledgeMutation (1 );
855- Mutation deleteMutation = writeMutation (deleteMutation (setMutation .getKey ()));
853+ Mutation mutation = writeMutation (setMutation ("coll/a" , map ("foo" , "bar" )));
856854 acknowledgeMutation (1 );
855+ writeMutation (deleteMutation (mutation .getKey ()));
856+ acknowledgeMutation (2 );
857857
858858 Map <ResourcePath , Integer > expected = new HashMap <>();
859- expected .put (deleteMutation .getKey ().getPath (), 1 ); // 1 is a "no" document
859+ expected .put (mutation .getKey ().getPath (), 1 ); // 1 is a "no" document
860860 assertThat (getDocumentTypeByPathFromRemoteDocumentsTable ()).containsExactlyEntriesIn (expected );
861861 }
862862
You can’t perform that action at this time.
0 commit comments