Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elguardian committed Jun 18, 2024
1 parent 2c38bfe commit 872f8b6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
import org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler;
import org.jbpm.test.util.NodeLeftCountDownProcessEventListener;
import org.jbpm.test.util.ProcessCompletedCountDownProcessEventListener;
import org.jbpm.test.utils.EventTrackerProcessListener;
import org.jbpm.test.utils.ProcessTestHelper;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -134,7 +135,7 @@ public void beforeNodeTriggered(ProcessNodeTriggeredEvent event) {
@Test
public void testBoundaryTimerCycleISO() {
Application app = ProcessTestHelper.newApplication();
NodeLeftCountDownProcessEventListener listener = new NodeLeftCountDownProcessEventListener("Send Update", 3);
NodeLeftCountDownProcessEventListener listener = new NodeLeftCountDownProcessEventListener("Send Update Timer", 3);
ProcessTestHelper.registerProcessEventListener(app, listener);
org.kie.kogito.process.Process<BoundaryTimerCycleISOModel> definition = BoundaryTimerCycleISOProcess.newProcess(app);
org.kie.kogito.process.ProcessInstance<BoundaryTimerCycleISOModel> instance = definition.createInstance(definition.createModel());
Expand All @@ -147,7 +148,7 @@ public void testBoundaryTimerCycleISO() {
@Test
public void testBoundaryTimerCycleISOVariable() {
Application app = ProcessTestHelper.newApplication();
NodeLeftCountDownProcessEventListener listener = new NodeLeftCountDownProcessEventListener("Send Update", 3);
NodeLeftCountDownProcessEventListener listener = new NodeLeftCountDownProcessEventListener("Send Update Timer", 3);
ProcessTestHelper.registerProcessEventListener(app, listener);
org.kie.kogito.process.Process<BoundaryTimerCycleISOVariableModel> definition = BoundaryTimerCycleISOVariableProcess.newProcess(app);
BoundaryTimerCycleISOVariableModel model = definition.createModel();
Expand Down

0 comments on commit 872f8b6

Please sign in to comment.