Skip to content

Commit f7df63c

Browse files
tests: fix
1 parent 3c67f5c commit f7df63c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/firestore/e2e/Query/where.or.filter.e2e.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ describe('firestore().collection().where(OR Filters)', function () {
12281228
});
12291229

12301230
it('allows multiple inequalities (excluding `!=`) on different paths provided', async function () {
1231-
const { getFirestore, collection, where, or, and, query } = firestoreModular;
1231+
const { where, or, and, query } = firestoreModular;
12321232

12331233
const colRef = firebase
12341234
.firestore()
@@ -1241,12 +1241,12 @@ describe('firestore().collection().where(OR Filters)', function () {
12411241
]);
12421242

12431243
const snapshot = await query(
1244-
collection(getFirestore(), COLLECTION),
1244+
colRef,
12451245
or(
12461246
and(where('foo.bar', '>', 123), where('bar', '>', 123)),
1247-
and(where('foo.bar', '>', 123), where('bar', '>', 123)),
1247+
and(where('foo.bar', '>', 123), where('bar', '!=', 1)),
12481248
),
1249-
);
1249+
).get();
12501250
snapshot.size.should.eql(2);
12511251
snapshot.forEach(s => {
12521252
s.data().should.eql(jet.contextify(expected));

0 commit comments

Comments
 (0)