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