pefernan commented on code in PR #3585:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3585#discussion_r1681274276


##########
jbpm/jbpm-tests/src/test/java/org/jbpm/test/utils/ProcessTestHelper.java:
##########
@@ -69,13 +68,18 @@ public static void registerHandler(Application app, String 
handlerName, KogitoWo
         ((DefaultWorkItemHandlerConfig) 
app.config().get(ProcessConfig.class).workItemHandlers()).register(handlerName, 
handler);
     }
 
-    public static void completeWorkItem(ProcessInstance<? extends Model> 
processInstance, String userName, Map<String, Object> outputVars) {
-        completeWorkItem(processInstance, userName, outputVars, item -> {
-        });
+    public static void completeWorkItem(ProcessInstance<? extends Model> 
processInstance, Map<String, Object> outputVars) {
+        completeWorkItem(processInstance, outputVars, item -> {
+        }, null, Collections.emptyList());

Review Comment:
   Well, I overrided this helper to provide a new method so we can test the 
complete without passing a user or groups, that's the only reason.
   



-- 
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