From 0c92b3d5f9e44a02c25f7e8d523b9865c2d4a6fe Mon Sep 17 00:00:00 2001 From: white Date: Sun, 19 May 2024 21:33:07 +0200 Subject: [PATCH] fix: 10 --- api/src/timeslots/timeslots.e2e-spec.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/src/timeslots/timeslots.e2e-spec.ts b/api/src/timeslots/timeslots.e2e-spec.ts index 409ee93..90035f7 100644 --- a/api/src/timeslots/timeslots.e2e-spec.ts +++ b/api/src/timeslots/timeslots.e2e-spec.ts @@ -858,6 +858,14 @@ describe('TimeslotsController', () => { describe(' GET /timeslots', () => { beforeEach(async () => { + for (const user of mockUsers) { + await usersService.create(user); + } + + for (const rs of mockRecruitmentSessions) { + await recruitmentSessionService.createRecruitmentSession(rs); + } + for (const ts of mockTimeSlots) { const timeSlot = { ...ts,