From a55f975489abebad2c020c497aac32f1f85f862b Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 21 May 2024 16:11:36 +0200 Subject: [PATCH] Fix tests --- packages/server/src/api/routes/tests/search.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/server/src/api/routes/tests/search.spec.ts b/packages/server/src/api/routes/tests/search.spec.ts index 15220a9c1a..709f8a7597 100644 --- a/packages/server/src/api/routes/tests/search.spec.ts +++ b/packages/server/src/api/routes/tests/search.spec.ts @@ -1067,6 +1067,7 @@ describe.each([ sort: "time", sortOrder: SortOrder.ASCENDING, }).toMatchExactly([ + { timeid: NULL_TIME__ID }, { time: "00:00:00" }, { time: "10:00:00" }, { time: "10:45:00" }, @@ -1085,6 +1086,7 @@ describe.each([ { time: "10:45:00" }, { time: "10:00:00" }, { time: "00:00:00" }, + { timeid: NULL_TIME__ID }, ])) describe("sortType STRING", () => { @@ -1095,6 +1097,7 @@ describe.each([ sortType: SortType.STRING, sortOrder: SortOrder.ASCENDING, }).toMatchExactly([ + { timeid: NULL_TIME__ID }, { time: "00:00:00" }, { time: "10:00:00" }, { time: "10:45:00" }, @@ -1114,6 +1117,7 @@ describe.each([ { time: "10:45:00" }, { time: "10:00:00" }, { time: "00:00:00" }, + { timeid: NULL_TIME__ID }, ])) }) })