Skip to content

Commit

Permalink
fix ut error
Browse files Browse the repository at this point in the history
  • Loading branch information
SbloodyS committed Apr 6, 2022
1 parent 7895a86 commit 4cbcf11
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ public void testStartProcessInstanceWithRequiredParams() throws Exception {
paramsMap.add("processDefinitionCode", String.valueOf(processDefinitionCode));
paramsMap.add("failureStrategy", String.valueOf(failureStrategy));
paramsMap.add("warningType", String.valueOf(warningType));
paramsMap.add("scheduleTime", "");
paramsMap.add("scheduleTime", scheduleTime);

when(executorService.execProcessInstance(any(User.class), eq(projectCode), eq(processDefinitionCode),
eq(null), eq(null), eq(failureStrategy), eq(null), eq(null), eq(warningType),
eq(scheduleTime), eq(null), eq(failureStrategy), eq(null), eq(null), eq(warningType),
eq(0), eq(null), eq(null), eq("default"), eq(-1L),
eq(Constants.MAX_TASK_TIMEOUT), eq(null), eq(null), eq(0),
eq(complementDependentMode))).thenReturn(executeServiceResult);
Expand Down

0 comments on commit 4cbcf11

Please sign in to comment.