From aebab4f58f84b60fe9c3448645b7000499552d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=EB=8C=80=ED=9D=AC?= <joedaehui@ajou.ac.kr> Date: Tue, 26 Nov 2024 16:44:01 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=EB=AF=B8=ED=8C=85=20=EC=83=9D=EC=84=B1?= =?UTF-8?q?=EC=9E=90=EC=9D=98=20=EC=8A=A4=EC=BC=80=EC=A4=84=20conflict=20?= =?UTF-8?q?=ED=99=95=EC=9D=B8=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20(#19)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/integration.test.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/services/integration.test.js b/services/integration.test.js index 6375ce7..f004ce1 100644 --- a/services/integration.test.js +++ b/services/integration.test.js @@ -152,6 +152,20 @@ describe('System Integration Test', () => { console.time('Meeting Operations'); // 3-1. 미팅 생성 및 스케줄 자동 등록 + const aliceConflictMeeting = { + title: '스터디 모임', + time_idx_start: 36, + time_idx_end: 38, + created_by: aliceId, + type: 'OPEN', + time_idx_deadline: 35, + location: 'Room A' + }; + + await expect( + MeetingService.createMeeting(aliceConflictMeeting) + ).rejects.toThrow('해당 시간에 이미 다른 스케줄이 있습니다'); + const meetingData = { title: '스터디 모임', time_idx_start: 36, -- GitLab