Browse Source

Add processInstance.setProcessDefinitionCode in UT (#6435)

3.0.0/version-upgrade
HanayoZz 3 years ago committed by GitHub
parent
commit
4fbee7dc4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapperTest.java

1
dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapperTest.java

@ -66,6 +66,7 @@ public class TaskInstanceMapperTest {
ProcessInstance processInstance = new ProcessInstance(); ProcessInstance processInstance = new ProcessInstance();
processInstance.setWarningGroupId(0); processInstance.setWarningGroupId(0);
processInstance.setCommandParam(""); processInstance.setCommandParam("");
processInstance.setProcessDefinitionCode(1L);
processInstanceMapper.insert(processInstance); processInstanceMapper.insert(processInstance);
processInstanceId = processInstance.getId(); processInstanceId = processInstance.getId();
} }

Loading…
Cancel
Save