Skip to content

Commit 227e7e9

Browse files
committed
CLAP-451 Fix: 불필요한 stubbing 삭제
#590
1 parent 62c9905 commit 227e7e9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/test/java/clap/server/application/service/task/UpdateTaskBoardServiceTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ void updateTaskOrder_moveToTop() {
5757
Task nextTask = mock(Task.class);
5858
Task prevTask = mock(Task.class);
5959

60-
when(memberService.findActiveMemberWithDepartment(processorId)).thenReturn(processor);
6160
when(taskService.findById(request.targetTaskId())).thenReturn(targetTask);
6261
when(targetTask.getTaskStatus()).thenReturn(taskStatus);
6362
when(taskService.findByIdAndStatus(request.nextTaskId(), taskStatus)).thenReturn(nextTask);
@@ -87,7 +86,6 @@ void updateTaskOrder_moveToBottom() {
8786
Task prevTask = mock(Task.class);
8887
Task nextTask = mock(Task.class);
8988

90-
when(memberService.findActiveMemberWithDepartment(processorId)).thenReturn(processor);
9189
when(taskService.findById(request.targetTaskId())).thenReturn(targetTask);
9290
when(targetTask.getTaskStatus()).thenReturn(taskStatus);
9391
when(taskService.findByIdAndStatus(request.prevTaskId(), taskStatus)).thenReturn(prevTask);
@@ -119,7 +117,6 @@ void updateTaskOrder_moveToMiddle() {
119117
Task prevTask = mock(Task.class);
120118
Task nextTask = mock(Task.class);
121119

122-
when(memberService.findActiveMemberWithDepartment(processorId)).thenReturn(processor);
123120
when(taskService.findById(request.targetTaskId())).thenReturn(targetTask);
124121
when(targetTask.getTaskStatus()).thenReturn(taskStatus);
125122
when(taskService.findByIdAndStatus(request.prevTaskId(), taskStatus)).thenReturn(prevTask);

0 commit comments

Comments
 (0)