Skip to content

Commit 594816f

Browse files
authored
Fix variable name typo: compositeIndexAggregateCountQuery -> compositeIndexAggregateQuery
1 parent c5367d8 commit 594816f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

firebase-firestore/src/androidTest/java/com/google/firebase/firestore/AggregationTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,8 +898,7 @@ public void testAggregateFailWithGoodMessageIfMissingIndex() {
898898
Query compositeIndexQuery = collection.whereEqualTo("field1", 42).whereLessThan("field2", 99);
899899
AggregateQuery compositeIndexAggregateQuery =
900900
compositeIndexQuery.aggregate(AggregateField.count(), sum("pages"), average("pages"));
901-
Task<AggregateQuerySnapshot> task =
902-
compositeIndexAggregateCountQuery.get(AggregateSource.SERVER);
901+
Task<AggregateQuerySnapshot> task = compositeIndexAggregateQuery.get(AggregateSource.SERVER);
903902

904903
Throwable throwable = assertThrows(Throwable.class, () -> waitFor(task));
905904

0 commit comments

Comments
 (0)