Skip to content

Commit 4e2b4f5

Browse files
committed
Fix failing test
1 parent 232dd8a commit 4e2b4f5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • modules/flowable-engine/src/test/java/org/flowable/engine/test/json

modules/flowable-engine/src/test/java/org/flowable/engine/test/json/JsonTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ public void execute(DelegateExecution execution) {
232232
.transientVariable("jsonBean", javaDelegate)
233233
.start();
234234

235+
customer = (ObjectNode) runtimeService.getVariable(processInstance.getId(), "customer");
235236
assertThatJson(customer)
236237
.isEqualTo("{"
237238
+ " name: 'Kermit',"
@@ -372,6 +373,7 @@ public void execute(DelegateExecution execution) {
372373
.transientVariable("jsonBean", javaDelegate)
373374
.start();
374375

376+
customer = (ObjectNode) runtimeService.getVariable(processInstance.getId(), "customer");
375377
assertThatJson(customer)
376378
.isEqualTo("{"
377379
+ " name: 'Kermit',"
@@ -433,6 +435,7 @@ public void execute(DelegateExecution execution) {
433435
.transientVariable("jsonBean", javaDelegate)
434436
.start();
435437

438+
customer = (ObjectNode) runtimeService.getVariable(processInstance.getId(), "customer");
436439
assertThatJson(customer)
437440
.isEqualTo("{"
438441
+ " name: 'Kermit'"

0 commit comments

Comments
 (0)