File tree Expand file tree Collapse file tree 2 files changed +2
-20
lines changed
firebase-firestore/src/androidTest/java/com/google/firebase/firestore Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 37
37
import androidx .test .ext .junit .runners .AndroidJUnit4 ;
38
38
import com .google .android .gms .tasks .Task ;
39
39
import com .google .common .truth .Truth ;
40
- import com .google .firebase .firestore .model .DatabaseId ;
41
40
import com .google .firebase .firestore .testutil .IntegrationTestUtil ;
42
41
import java .util .Collections ;
43
42
import java .util .Map ;
@@ -904,15 +903,7 @@ public void testAggregateErrorMessageShouldContainConsoleLinkIfMissingIndex() {
904
903
905
904
Throwable cause = throwable .getCause ();
906
905
Truth .assertThat (cause ).hasMessageThat ().ignoringCase ().contains ("index" );
907
- // TODO(b/316359394) Remove this check for the default databases once cl/582465034 is rolled
908
- // out to production.
909
- if (collection
910
- .firestore
911
- .getDatabaseId ()
912
- .getDatabaseId ()
913
- .equals (DatabaseId .DEFAULT_DATABASE_ID )) {
914
- Truth .assertThat (cause ).hasMessageThat ().contains ("https://console.firebase.google.com" );
915
- }
906
+ Truth .assertThat (cause ).hasMessageThat ().contains ("https://console.firebase.google.com" );
916
907
}
917
908
918
909
@ Test
Original file line number Diff line number Diff line change 33
33
34
34
import androidx .test .ext .junit .runners .AndroidJUnit4 ;
35
35
import com .google .android .gms .tasks .Task ;
36
- import com .google .firebase .firestore .model .DatabaseId ;
37
36
import com .google .firebase .firestore .testutil .IntegrationTestUtil ;
38
37
import java .util .Collections ;
39
38
import org .junit .After ;
@@ -277,14 +276,6 @@ public void testCountErrorMessageShouldContainConsoleLinkIfMissingIndex() {
277
276
278
277
Throwable cause = throwable .getCause ();
279
278
assertThat (cause ).hasMessageThat ().ignoringCase ().contains ("index" );
280
- // TODO(b/316359394) Remove this check for the default databases once cl/582465034 is rolled
281
- // out to production.
282
- if (collection
283
- .firestore
284
- .getDatabaseId ()
285
- .getDatabaseId ()
286
- .equals (DatabaseId .DEFAULT_DATABASE_ID )) {
287
- assertThat (cause ).hasMessageThat ().contains ("https://console.firebase.google.com" );
288
- }
279
+ assertThat (cause ).hasMessageThat ().contains ("https://console.firebase.google.com" );
289
280
}
290
281
}
You can’t perform that action at this time.
0 commit comments