Skip to content

Commit 5252485

Browse files
Fix test
1 parent deb3344 commit 5252485

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/firestore/test/unit/local/query_engine.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
LimitType,
2424
Query,
2525
queryWithAddedFilter,
26+
queryWithAddedOrderBy,
2627
queryWithLimit
2728
} from '../../../src/core/query';
2829
import { SnapshotVersion } from '../../../src/core/snapshot_version';
@@ -585,10 +586,7 @@ function genericQueryEngineTest(
585586
await addMutation(patchMutation('coll/3', { 'a': 5 }));
586587

587588
const q = queryWithLimit(
588-
queryWithAddedFilter(
589-
queryWithAddedFilter(query('coll'), filter('a', '==', 1)),
590-
filter('b', '==', 1)
591-
),
589+
queryWithAddedOrderBy(query('coll'), orderBy('a')),
592590
3,
593591
LimitType.First
594592
);

0 commit comments

Comments
 (0)