Abhitocode commented on code in PR #3651:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3651#discussion_r1761603101


##########
jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/ActivityTest.java:
##########
@@ -1456,20 +1462,22 @@ public void testServiceTaskWithMvelJaxbTransformation() 
throws Exception {
 
     @Test
     public void testErrorBetweenProcessesProcess() throws Exception {
-        kruntime = 
createKogitoProcessRuntime("org/jbpm/bpmn2/subprocess/BPMN2-ErrorsBetweenProcess.bpmn2",
-                
"org/jbpm/bpmn2/subprocess/BPMN2-ErrorsBetweenSubProcess.bpmn2");
-
-        Map<String, Object> variables = new HashMap<>();
-
-        variables.put("tipoEvento", "error");
-        variables.put("pasoVariable", 3);
-        KogitoProcessInstance processInstance = 
kruntime.startProcess("ErrorsBetweenProcess", variables);
-
-        assertProcessInstanceCompleted(processInstance.getStringId(), 
kruntime);
-        assertProcessInstanceAborted(processInstance.getStringId() + 1, 
kruntime);
-
-        assertProcessVarValue(processInstance, "event", "error desde 
Subproceso");
+        Application app = ProcessTestHelper.newApplication();

Review Comment:
   Migrated as above and created a separate pr for the same 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3665. Thank you 
@elguardian : )



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to