Skip to content

Commit 7e4610d

Browse files
committed
real UUIDs
1 parent 37c461c commit 7e4610d

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

spec/ParseQuery.Aggregate.spec.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ describe('Parse.Query Aggregate testing', () => {
473473
expect(new Date(results[0].date.iso)).toEqual(obj1.get('date'));
474474
});
475475

476-
it_id('f01a0001-0001-0001-0001-000000000001')(it_exclude_dbs(['postgres']))('rawValues: true converts $date EJSON marker to BSON Date in $match', async () => {
476+
it_id('8c211edc-a48e-4ab3-810a-f56897228393')(it_exclude_dbs(['postgres']))('rawValues: true converts $date EJSON marker to BSON Date in $match', async () => {
477477
const obj = new TestObject();
478478
await obj.save();
479479
const iso = new Date(obj.createdAt.getTime() + 1).toISOString();
@@ -487,7 +487,7 @@ describe('Parse.Query Aggregate testing', () => {
487487
expect(results[0].total).toBe(1);
488488
});
489489

490-
it_id('f01a0001-0002-0002-0002-000000000002')(it_exclude_dbs(['postgres']))('rawValues: true deserializes $date at any nesting depth', async () => {
490+
it_id('2a79e4c8-aa16-434f-bbea-e34637eaff16')(it_exclude_dbs(['postgres']))('rawValues: true deserializes $date at any nesting depth', async () => {
491491
const obj = new TestObject();
492492
await obj.save();
493493
const iso = new Date(obj.createdAt.getTime() + 1).toISOString();
@@ -508,7 +508,7 @@ describe('Parse.Query Aggregate testing', () => {
508508
expect(results[0].total).toBe(1);
509509
});
510510

511-
it_id('f01a0001-0003-0003-0003-000000000003')(it_exclude_dbs(['postgres']))('rawValues: true does NOT coerce bare ISO strings', async () => {
511+
it_id('cc08f092-8f26-4f5b-81f2-769de812982f')(it_exclude_dbs(['postgres']))('rawValues: true does NOT coerce bare ISO strings', async () => {
512512
const obj = new TestObject();
513513
await obj.save();
514514
const iso = new Date(obj.createdAt.getTime() + 1).toISOString();
@@ -522,7 +522,7 @@ describe('Parse.Query Aggregate testing', () => {
522522
expect(results.length).toBe(0);
523523
});
524524

525-
it_id('f01a0001-0004-0004-0004-000000000004')(it_exclude_dbs(['postgres']))('rawValues: true does NOT coerce Parse Date encoding `{ __type: "Date", iso }`', async () => {
525+
it_id('bc4cb19e-3114-40d8-8db8-0e9f5b582f33')(it_exclude_dbs(['postgres']))('rawValues: true does NOT coerce Parse Date encoding `{ __type: "Date", iso }`', async () => {
526526
const obj = new TestObject();
527527
await obj.save();
528528
const iso = new Date(obj.createdAt.getTime() + 1).toISOString();
@@ -541,7 +541,7 @@ describe('Parse.Query Aggregate testing', () => {
541541
expect(results.length).toBe(0);
542542
});
543543

544-
it_id('f01a0001-0005-0005-0005-000000000005')(it_exclude_dbs(['postgres']))('rawValues: true serializes BSON Date in results as `{ $date: iso }`', async () => {
544+
it_id('27c3bf01-5b4a-41b3-988e-522fdef63181')(it_exclude_dbs(['postgres']))('rawValues: true serializes BSON Date in results as `{ $date: iso }`', async () => {
545545
const obj = new TestObject();
546546
await obj.save();
547547
const iso = new Date(obj.createdAt.getTime() + 1).toISOString();
@@ -556,7 +556,7 @@ describe('Parse.Query Aggregate testing', () => {
556556
expect(results[0]._created_at).toEqual(jasmine.objectContaining({ $date: jasmine.any(String) }));
557557
});
558558

559-
it_id('f01a0001-0006-0006-0006-000000000006')(it_exclude_dbs(['postgres']))('rawValues: true deserializes EJSON in `$addFields`', async () => {
559+
it_id('5b6b225d-219e-480c-9241-ac3e146dda9f')(it_exclude_dbs(['postgres']))('rawValues: true deserializes EJSON in `$addFields`', async () => {
560560
const obj = new TestObject();
561561
await obj.save();
562562
const iso = '2026-01-01T00:00:00.000Z';
@@ -1653,7 +1653,7 @@ describe('Parse.Query Aggregate testing', () => {
16531653
}
16541654
});
16551655

1656-
it_id('f01a0002-0001-0001-0001-000000000001')(it_exclude_dbs(['postgres']))('rawFieldNames: true lets users write _created_at directly', async () => {
1656+
it_id('e1d699e3-1389-4213-b0e6-37838bcef390')(it_exclude_dbs(['postgres']))('rawFieldNames: true lets users write _created_at directly', async () => {
16571657
const obj = new TestObject();
16581658
await obj.save();
16591659
const iso = new Date(obj.createdAt.getTime() + 1).toISOString();
@@ -1676,7 +1676,7 @@ describe('Parse.Query Aggregate testing', () => {
16761676
expect(results[0].total).toBe(1);
16771677
});
16781678

1679-
it_id('f01a0002-0002-0002-0002-000000000002')(it_exclude_dbs(['postgres']))('rawFieldNames: true does NOT rewrite Parse-style names', async () => {
1679+
it_id('79e68a9f-ce15-44cf-9f9e-6a722f73ef1a')(it_exclude_dbs(['postgres']))('rawFieldNames: true does NOT rewrite Parse-style names', async () => {
16801680
const obj = new TestObject();
16811681
await obj.save();
16821682
const iso = new Date(obj.createdAt.getTime() + 1).toISOString();
@@ -1695,7 +1695,7 @@ describe('Parse.Query Aggregate testing', () => {
16951695
expect(results.length).toBe(0);
16961696
});
16971697

1698-
it_id('f01a0002-0003-0003-0003-000000000003')(it_exclude_dbs(['postgres']))('rawFieldNames: true returns native field names in results', async () => {
1698+
it_id('b69c1a5a-b1d3-4c45-adb4-bb8f74af37c6')(it_exclude_dbs(['postgres']))('rawFieldNames: true returns native field names in results', async () => {
16991699
const obj = new TestObject();
17001700
await obj.save();
17011701
const pipeline = [
@@ -1715,7 +1715,7 @@ describe('Parse.Query Aggregate testing', () => {
17151715
expect(Object.prototype.hasOwnProperty.call(results[0], 'createdAt')).toBe(false);
17161716
});
17171717

1718-
it_id('f01a0003-0001-0001-0001-000000000001')(it_exclude_dbs(['postgres']))('server-level rawValues default applies when per-query omits it', async () => {
1718+
it_id('f854cc3d-2259-42bc-be88-4122f80f8568')(it_exclude_dbs(['postgres']))('server-level rawValues default applies when per-query omits it', async () => {
17191719
await reconfigureServer({ query: { aggregationRawValues: true } });
17201720
const obj = new TestObject();
17211721
await obj.save();
@@ -1731,7 +1731,7 @@ describe('Parse.Query Aggregate testing', () => {
17311731
expect(results[0].total).toBe(1);
17321732
});
17331733

1734-
it_id('f01a0003-0002-0002-0002-000000000002')(it_exclude_dbs(['postgres']))('per-query rawValues: false overrides server-level true', async () => {
1734+
it_id('5be28dc9-a298-488c-8dec-893c2309f6b7')(it_exclude_dbs(['postgres']))('per-query rawValues: false overrides server-level true', async () => {
17351735
await reconfigureServer({ query: { aggregationRawValues: true } });
17361736
const obj = new TestObject();
17371737
await obj.save();
@@ -1752,7 +1752,7 @@ describe('Parse.Query Aggregate testing', () => {
17521752
expect(results.length).toBe(0);
17531753
});
17541754

1755-
it_id('f01a0003-0003-0003-0003-000000000003')(it_exclude_dbs(['postgres']))('server-level rawFieldNames default applies when per-query omits it', async () => {
1755+
it_id('e0e89b62-5ced-4610-ab16-82ea532e69c1')(it_exclude_dbs(['postgres']))('server-level rawFieldNames default applies when per-query omits it', async () => {
17561756
await reconfigureServer({
17571757
query: { aggregationRawValues: true, aggregationRawFieldNames: true },
17581758
});

0 commit comments

Comments
 (0)