Skip to content

Commit 4ed98bd

Browse files
committed
Apply fjtirado suggestion
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
1 parent 8bc942d commit 4ed98bd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

impl/test/src/test/java/io/serverlessworkflow/impl/test/WorkflowThenTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ void consume_then_skips_next_task_and_jumps_to_target() {
4040
Workflow wf =
4141
FuncWorkflowBuilder.workflow("intelligent-newsletter")
4242
.tasks(
43-
consume(
44-
"sendNewsletter",
45-
(Object input) -> log.info("Consuming: {}", input),
46-
Object.class)
43+
consume("sendNewsletter", input -> log.debug("Consuming: {}", input), Object.class)
4744
.then("otherTask"),
4845
function("nextTask", v -> "nextTask: " + v, String.class),
4946
function("otherTask", v -> "otherTask: " + v, String.class))

0 commit comments

Comments
 (0)