File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
firebase-firestore/src/androidTest/java/com/google/firebase/firestore Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -896,9 +896,9 @@ public void testAggregateFailWithGoodMessageIfMissingIndex() {
896896
897897 CollectionReference collection = testCollectionWithDocs (Collections .emptyMap ());
898898 Query compositeIndexQuery = collection .whereEqualTo ("field1" , 42 ).whereLessThan ("field2" , 99 );
899- AggregateQuery compositeIndexCountQuery =
899+ AggregateQuery compositeIndexAggregateQuery =
900900 compositeIndexQuery .aggregate (AggregateField .count (), sum ("pages" ), average ("pages" ));
901- Task <AggregateQuerySnapshot > task = compositeIndexCountQuery .get (AggregateSource .SERVER );
901+ Task <AggregateQuerySnapshot > task = compositeIndexAggregateQuery .get (AggregateSource .SERVER );
902902
903903 Throwable throwable = assertThrows (Throwable .class , () -> waitFor (task ));
904904
You can’t perform that action at this time.
0 commit comments