From 6bb668ee33fd84fb12b98c9120725ca718c43654 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Mon, 4 Nov 2024 15:03:09 +0100 Subject: [PATCH] Fix tests --- packages/server/src/api/routes/tests/row.spec.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/server/src/api/routes/tests/row.spec.ts b/packages/server/src/api/routes/tests/row.spec.ts index 8c4a01b07b..9213967d38 100644 --- a/packages/server/src/api/routes/tests/row.spec.ts +++ b/packages/server/src/api/routes/tests/row.spec.ts @@ -2799,6 +2799,8 @@ describe.each([ name: "foo", description: "bar", tableId, + createdAt: new Date().toISOString(), + updatedAt: new Date().toISOString(), }) }) @@ -2820,6 +2822,8 @@ describe.each([ id: isInternal ? undefined : expect.any(Number), type: isInternal ? "row" : undefined, [`fk_${o2mTable.name}_fk_o2m`]: isInternal ? undefined : user.id, + createdAt: new Date().toISOString(), + updatedAt: new Date().toISOString(), }) }) @@ -2840,6 +2844,8 @@ describe.each([ _rev: expect.any(String), id: isInternal ? undefined : expect.any(Number), type: isInternal ? "row" : undefined, + createdAt: new Date().toISOString(), + updatedAt: new Date().toISOString(), }) }) @@ -2917,6 +2923,8 @@ describe.each([ id: isInternal ? undefined : expect.any(Number), type: isInternal ? "row" : undefined, [`fk_${o2mTable.name}_fk_o2m`]: isInternal ? undefined : user.id, + createdAt: new Date().toISOString(), + updatedAt: new Date().toISOString(), }) }) @@ -2941,6 +2949,8 @@ describe.each([ _rev: expect.any(String), id: isInternal ? undefined : expect.any(Number), type: isInternal ? "row" : undefined, + createdAt: new Date().toISOString(), + updatedAt: new Date().toISOString(), }) })