diff --git a/src/test/java/com/dnd/jjakkak/domain/schedule/service/ScheduleServiceTest.java b/src/test/java/com/dnd/jjakkak/domain/schedule/service/ScheduleServiceTest.java index 6c5c800..a0da6b3 100644 --- a/src/test/java/com/dnd/jjakkak/domain/schedule/service/ScheduleServiceTest.java +++ b/src/test/java/com/dnd/jjakkak/domain/schedule/service/ScheduleServiceTest.java @@ -123,7 +123,7 @@ void assign_schedule_to_guest_success() { // then verify(scheduleRepository, times(1)).findNotAssignedScheduleByMeetingUuid(MEETING_UUID); verify(meetingRepository, times(1)).checkMeetingFull(any()); - verify(dateOfScheduleService, times(2)).createDateOfSchedule(anyLong(), any()); + verify(dateOfScheduleService, times(1)).createDateOfSchedule(anyLong(), any()); } @Test @@ -253,7 +253,7 @@ void assign_schedule_to_member_success() { // then verify(scheduleRepository, times(1)).findNotAssignedScheduleByMeetingUuid(MEETING_UUID); verify(meetingRepository, times(1)).checkMeetingFull(any()); - verify(dateOfScheduleService, times(2)).createDateOfSchedule(anyLong(), any()); + verify(dateOfScheduleService, times(1)).createDateOfSchedule(anyLong(), any()); verify(meetingMemberService, times(1)).createMeetingMemberBySchedule(anyLong(), anyLong()); }