test/factories/task_factory.rb in foreman-tasks-5.2.3 vs test/factories/task_factory.rb in foreman-tasks-5.3.0

- old
+ new

@@ -22,10 +22,10 @@ execution_plan = ForemanTasks.dynflow.world.plan(Support::DummyDynflowAction) # remove the task created automatically by the persistence ForemanTasks::Task.where(:external_id => execution_plan.id).delete_all task.update!(:external_id => execution_plan.id) if evaluator.sync_with_dynflow - task.update_from_dynflow(execution_plan.to_hash) + task.update_from_dynflow(execution_plan) end end trait :user_create_task do label { 'Actions::User::Create' }