Skip to content

Commit

Permalink
wrap documentIds into ''
Browse files Browse the repository at this point in the history
  • Loading branch information
milaGGL committed Dec 12, 2024
1 parent 85d78a3 commit ff54671
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions packages/firestore/test/integration/api/database.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2250,13 +2250,13 @@ apiDescribe('Database', persistence => {
describe('sort documents by DocumentId', () => {
it('snapshot listener sorts query by DocumentId same way as get query', async () => {
const testDocs = {
A: { a: 1 },
a: { a: 1 },
Aa: { a: 1 },
'A': { a: 1 },
'a': { a: 1 },
'Aa': { a: 1 },
'7': { a: 1 },
12: { a: 1 },
'12': { a: 1 },
'__id7__': { a: 1 },
__id12__: { a: 1 },
'__id12__': { a: 1 },
'__id-2__': { a: 1 },
'_id1__': { a: 1 },
'__id1_': { a: 1 },
Expand Down Expand Up @@ -2301,13 +2301,13 @@ apiDescribe('Database', persistence => {

it('snapshot listener sorts filtered query by DocumentId same way as get query', async () => {
const testDocs = {
A: { a: 1 },
a: { a: 1 },
Aa: { a: 1 },
'A': { a: 1 },
'a': { a: 1 },
'Aa': { a: 1 },
'7': { a: 1 },
12: { a: 1 },
'12': { a: 1 },
'__id7__': { a: 1 },
__id12__: { a: 1 },
'__id12__': { a: 1 },
'__id-2__': { a: 1 },
'_id1__': { a: 1 },
'__id1_': { a: 1 },
Expand Down Expand Up @@ -2351,13 +2351,13 @@ apiDescribe('Database', persistence => {
(persistence.gc === 'lru' ? describe : describe.skip)('offline', () => {
it('SDK orders query the same way online and offline', async () => {
const testDocs = {
A: { a: 1 },
a: { a: 1 },
Aa: { a: 1 },
'A': { a: 1 },
'a': { a: 1 },
'Aa': { a: 1 },
'7': { a: 1 },
12: { a: 1 },
'12': { a: 1 },
'__id7__': { a: 1 },
__id12__: { a: 1 },
'__id12__': { a: 1 },
'__id-2__': { a: 1 },
'_id1__': { a: 1 },
'__id1_': { a: 1 },
Expand Down

0 comments on commit ff54671

Please sign in to comment.