Skip to content

Commit 16a90fa

Browse files
authored
Firestore: Improve test name of "missing index" error message tests (#5602)
1 parent a8310ed commit 16a90fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ public void testPerformsAverageOnlyOnNumericFields() {
887887
}
888888

889889
@Test
890-
public void testAggregateFailWithGoodMessageIfMissingIndex() {
890+
public void testAggregateErrorMessageShouldContainConsoleLinkIfMissingIndex() {
891891
assumeFalse(
892892
"Skip this test when running against the Firestore emulator because the "
893893
+ "Firestore emulator does not use indexes and never fails with a 'missing index'"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public void testCountFailWithoutNetwork() {
262262
}
263263

264264
@Test
265-
public void testCountFailWithGoodMessageIfMissingIndex() {
265+
public void testCountErrorMessageShouldContainConsoleLinkIfMissingIndex() {
266266
assumeFalse(
267267
"Skip this test when running against the Firestore emulator because the Firestore emulator "
268268
+ "does not use indexes and never fails with a 'missing index' error",

0 commit comments

Comments
 (0)