Skip to content

Commit c5f55db

Browse files
Simplify test
1 parent efbd10c commit c5f55db

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import static com.google.firebase.firestore.testutil.TestUtil.fieldIndex;
2121
import static com.google.firebase.firestore.testutil.TestUtil.filter;
2222
import static com.google.firebase.firestore.testutil.TestUtil.map;
23-
import static com.google.firebase.firestore.testutil.TestUtil.noChangeEvent;
2423
import static com.google.firebase.firestore.testutil.TestUtil.query;
2524
import static java.util.Collections.singletonList;
2625

@@ -76,7 +75,6 @@ public void testUsesIndexes() {
7675
int targetId = allocateQuery(query);
7776

7877
applyRemoteEvent(addedRemoteEvent(doc("coll/a", 10, map("matches", true)), targetId));
79-
applyRemoteEvent(noChangeEvent(targetId, 10));
8078

8179
backfillIndexes();
8280

@@ -94,12 +92,9 @@ public void testUsesPartialIndexesWhenAvailable() {
9492
int targetId = allocateQuery(query);
9593

9694
applyRemoteEvent(addedRemoteEvent(doc("coll/a", 10, map("matches", true)), targetId));
97-
applyRemoteEvent(noChangeEvent(targetId, 10));
98-
9995
backfillIndexes();
10096

10197
applyRemoteEvent(addedRemoteEvent(doc("coll/b", 20, map("matches", true)), targetId));
102-
applyRemoteEvent(noChangeEvent(targetId, 20));
10398

10499
executeQuery(query);
105100
assertRemoteDocumentsRead(/* byKey= */ 1, /* byQuery= */ 1);

0 commit comments

Comments
 (0)