Skip to content

Commit 8152115

Browse files
Test fix
1 parent 2313e0f commit 8152115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private void addFieldIndex(String collectionGroup, String fieldName, SnapshotVer
251251
fieldIndex(
252252
collectionGroup,
253253
FieldIndex.UNKNOWN_ID,
254-
FieldIndex.INITIAL_STATE,
254+
FieldIndex.IndexState.create(0, version),
255255
fieldName,
256256
FieldIndex.Segment.Kind.ASCENDING);
257257
indexManager.addFieldIndex(fieldIndex);

0 commit comments

Comments
 (0)