|
|
@ -145,6 +145,8 @@ public class ProcessDefinitionMapperTest { |
|
|
|
processDefinition.setCreateTime(new Date()); |
|
|
|
processDefinition.setCreateTime(new Date()); |
|
|
|
processDefinition.setTenantId(tenant.getId()); |
|
|
|
processDefinition.setTenantId(tenant.getId()); |
|
|
|
processDefinition.setUserId(user.getId()); |
|
|
|
processDefinition.setUserId(user.getId()); |
|
|
|
|
|
|
|
processDefinition.setGlobalParams("[{\"prop\":\"selenium_global_parameters_1\",\"direct\":\"IN\",\"type\":\"VARCHAR\",\"value\":\"selenium_global_parameters_value_1\"}]"); |
|
|
|
|
|
|
|
|
|
|
|
processDefinitionMapper.insert(processDefinition); |
|
|
|
processDefinitionMapper.insert(processDefinition); |
|
|
|
|
|
|
|
|
|
|
|
ProcessDefinition processDefinition1 = processDefinitionMapper.queryByDefineName(project.getId(), "def 1"); |
|
|
|
ProcessDefinition processDefinition1 = processDefinitionMapper.queryByDefineName(project.getId(), "def 1"); |
|
|
|