Skip to content

Commit a8310ed

Browse files
authored
Firestore: AggregationTest.java: fix variable name (no functionality changed) (#5601)
1 parent 2f546b2 commit a8310ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)