Skip to content
Snippets Groups Projects
Commit aebab4f5 authored by 조대희's avatar 조대희
Browse files

test: 미팅 생성자의 스케줄 conflict 확인 테스트 (#19)

parent fbd8ba42
Branches
No related tags found
2 merge requests!31Develop,!26[#19] 통합 테스트 제작 및 서비스 로직 추가/수정
...@@ -152,6 +152,20 @@ describe('System Integration Test', () => { ...@@ -152,6 +152,20 @@ describe('System Integration Test', () => {
console.time('Meeting Operations'); console.time('Meeting Operations');
// 3-1. 미팅 생성 및 스케줄 자동 등록 // 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 = { const meetingData = {
title: '스터디 모임', title: '스터디 모임',
time_idx_start: 36, time_idx_start: 36,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment