Skip to content

Commit ff54671

Browse files
committed
wrap documentIds into ''
1 parent 85d78a3 commit ff54671

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

packages/firestore/test/integration/api/database.test.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2250,13 +2250,13 @@ apiDescribe('Database', persistence => {
22502250
describe('sort documents by DocumentId', () => {
22512251
it('snapshot listener sorts query by DocumentId same way as get query', async () => {
22522252
const testDocs = {
2253-
A: { a: 1 },
2254-
a: { a: 1 },
2255-
Aa: { a: 1 },
2253+
'A': { a: 1 },
2254+
'a': { a: 1 },
2255+
'Aa': { a: 1 },
22562256
'7': { a: 1 },
2257-
12: { a: 1 },
2257+
'12': { a: 1 },
22582258
'__id7__': { a: 1 },
2259-
__id12__: { a: 1 },
2259+
'__id12__': { a: 1 },
22602260
'__id-2__': { a: 1 },
22612261
'_id1__': { a: 1 },
22622262
'__id1_': { a: 1 },
@@ -2301,13 +2301,13 @@ apiDescribe('Database', persistence => {
23012301

23022302
it('snapshot listener sorts filtered query by DocumentId same way as get query', async () => {
23032303
const testDocs = {
2304-
A: { a: 1 },
2305-
a: { a: 1 },
2306-
Aa: { a: 1 },
2304+
'A': { a: 1 },
2305+
'a': { a: 1 },
2306+
'Aa': { a: 1 },
23072307
'7': { a: 1 },
2308-
12: { a: 1 },
2308+
'12': { a: 1 },
23092309
'__id7__': { a: 1 },
2310-
__id12__: { a: 1 },
2310+
'__id12__': { a: 1 },
23112311
'__id-2__': { a: 1 },
23122312
'_id1__': { a: 1 },
23132313
'__id1_': { a: 1 },
@@ -2351,13 +2351,13 @@ apiDescribe('Database', persistence => {
23512351
(persistence.gc === 'lru' ? describe : describe.skip)('offline', () => {
23522352
it('SDK orders query the same way online and offline', async () => {
23532353
const testDocs = {
2354-
A: { a: 1 },
2355-
a: { a: 1 },
2356-
Aa: { a: 1 },
2354+
'A': { a: 1 },
2355+
'a': { a: 1 },
2356+
'Aa': { a: 1 },
23572357
'7': { a: 1 },
2358-
12: { a: 1 },
2358+
'12': { a: 1 },
23592359
'__id7__': { a: 1 },
2360-
__id12__: { a: 1 },
2360+
'__id12__': { a: 1 },
23612361
'__id-2__': { a: 1 },
23622362
'_id1__': { a: 1 },
23632363
'__id1_': { a: 1 },

0 commit comments

Comments
 (0)