diff --git a/lib/trailblazer/workflow/collaboration.rb b/lib/trailblazer/workflow/collaboration.rb index f351acd..7f49c12 100644 --- a/lib/trailblazer/workflow/collaboration.rb +++ b/lib/trailblazer/workflow/collaboration.rb @@ -127,7 +127,7 @@ def initial_lane_positions(lanes) # Triggers the {start_task} event and runs the entire collaboration until message is sent and # the throwing activity stops in a suspend or End terminus. # @private - def advance(collaboration, (ctx, flow), circuit_options, lane_positions:, start_task_position:, message_flow:) + def advance((ctx, flow), circuit_options, lane_positions:, start_task_position:, message_flow:) signal = nil # start_task, activity, diff --git a/lib/trailblazer/workflow/discovery.rb b/lib/trailblazer/workflow/discovery.rb index 8331a5b..a8623af 100644 --- a/lib/trailblazer/workflow/discovery.rb +++ b/lib/trailblazer/workflow/discovery.rb @@ -73,7 +73,6 @@ def call(collaboration, start_task_position:, run_multiple_times: {}, initial_la discovered_state = discovered_state.merge(ctx_before: [ctx.inspect]) configuration, (ctx, flow) = Trailblazer::Workflow::Collaboration::Synchronous.advance( - collaboration, [ctx, {throw: []}], {}, # circuit_options diff --git a/lib/trailblazer/workflow/test/assertions.rb b/lib/trailblazer/workflow/test/assertions.rb index 4a1ca32..4c586fa 100644 --- a/lib/trailblazer/workflow/test/assertions.rb +++ b/lib/trailblazer/workflow/test/assertions.rb @@ -38,7 +38,7 @@ def assert_advance(event_label, test_plan:, lanes_cfg:, schema:, message_flow:, ctx_for_advance = ctx configuration, (ctx, flow) = Trailblazer::Workflow::Collaboration::Synchronous.advance( - schema, + # schema, [ctx_for_advance, {throw: []}], {}, # circuit_options