Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit c43f417

Browse files
committed
test: revert throw assertion in arrayContainsAnyQueries test
Modified the `arrayContainsAnyQueries` test to reflect updated backend behaviour. The throw assertion was added in #2299. It seems the backend behaviour has changed and now there is no excecption thrown.
1 parent 0af6f0b commit c43f417

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

google-cloud-firestore/src/test/java/com/google/cloud/firestore/it/ITSystemTest.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1944,13 +1944,7 @@ public void arrayContainsAnyQueries() throws Exception {
19441944

19451945
Query query = randomColl.whereArrayContainsAny("array", Arrays.<Object>asList(42, 43));
19461946

1947-
if (getFirestoreEdition() == FirestoreEdition.STANDARD) {
1948-
assertEquals(asList("a", "b", "d", "e"), querySnapshotToIds(query.get().get()));
1949-
} else {
1950-
// TODO: Currently rejected because of mixed type setup, backend will change the behavior; and
1951-
// this test will fail by then.
1952-
assertThrows(ExecutionException.class, () -> querySnapshotToIds(query.get().get()));
1953-
}
1947+
assertEquals(asList("a", "b", "d", "e"), querySnapshotToIds(query.get().get()));
19541948
}
19551949

19561950
@Test

0 commit comments

Comments
 (0)