From 542e5dc51ca423206a62581067b879760eb16cf7 Mon Sep 17 00:00:00 2001 From: white Date: Sun, 19 May 2024 21:48:55 +0200 Subject: [PATCH] debubg: tests 2 --- api/src/timeslots/timeslots.e2e-spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/timeslots/timeslots.e2e-spec.ts b/api/src/timeslots/timeslots.e2e-spec.ts index 1ede84b..4d94600 100644 --- a/api/src/timeslots/timeslots.e2e-spec.ts +++ b/api/src/timeslots/timeslots.e2e-spec.ts @@ -910,10 +910,10 @@ describe('TimeslotsController', () => { expect(allAvailabilities).toHaveLength(mockAvailability.length); }); - it('DEBUG: check availabilities for timeslot having id 71', async () => { + it('DEBUG: check availabilities for timeslot having id 71 & 73', async () => { const allAvailabilities = await availabilityService.listAvailabilities(); - const av71 = allAvailabilities.filter((a) => a.timeSlot.id === 71); - const av73 = allAvailabilities.filter((a) => a.timeSlot.id === 73); + const av71 = allAvailabilities.filter((a) => a.timeSlotId === 71); + const av73 = allAvailabilities.filter((a) => a.timeSlotId === 73); expect(av71).toHaveLength(4); expect(av73).toHaveLength(2); });