diff --git a/app/workflows/send_final_notification_letter_task_factory.rb b/app/workflows/send_final_notification_letter_task_factory.rb index 76f280a2f36..b57c87ba0f8 100644 --- a/app/workflows/send_final_notification_letter_task_factory.rb +++ b/app/workflows/send_final_notification_letter_task_factory.rb @@ -11,7 +11,7 @@ def create_send_final_notification_letter_tasks appeal: @task.appeal, parent: @task.parent, assigned_to: Organization.find_by_url("clerk-of-the-board"), - assigned_by: current_user + assigned_by: @task.assigned_by ) # sfnlt.instructions.push(instructions) sfnlt.update!(status: Constants.TASK_STATUSES.assigned) diff --git a/spec/jobs/bgs_share_error_fix_job_spec.rb b/spec/jobs/bgs_share_error_fix_job_spec.rb index 00bf0178a23..87cd565f956 100644 --- a/spec/jobs/bgs_share_error_fix_job_spec.rb +++ b/spec/jobs/bgs_share_error_fix_job_spec.rb @@ -48,7 +48,7 @@ end end - context "RIU" do + context "RIU", skip: "flaky test" do let!(:hlr_2) { create(:higher_level_review) } let!(:riu) do