-
Bug Report
-
Resolution: Unresolved
-
L3 - Default
-
None
-
7.17.6
-
None
Environment (Required on creation):
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
when testing BPMN which expected ExternalTask to send local variables, there is no complete method allowing to pass local variablethe complete() function do not allow
Steps to reproduce (Required on creation):
Observed Behavior (Required on creation):
Expected behavior (Required on creation):
Root Cause (Required on prioritization):
Solution Ideas (Optional):
update test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
along with:
public static void complete(ExternalTask externalTask, Map<String, Object> variables) ... complete(lockedTasks.get(0), variables);
add:
public static void complete(ExternalTask externalTask, Map<String, Object> variables), Map<String, Object> localVariables){ ... complete(lockedTasks.get(0), variables, localVariables);
And the same for
public static void complete(LockedExternalTask lockedExternalTask, Map<String, Object> variables,
Hints (optional):