diff --git a/app/lib/application_form_status_updater.rb b/app/lib/application_form_status_updater.rb index a8c543a3ad..87a433df8b 100644 --- a/app/lib/application_form_status_updater.rb +++ b/app/lib/application_form_status_updater.rb @@ -173,7 +173,8 @@ def status def action_required_by @action_required_by ||= - if status == "preliminary_check" + if status == "preliminary_check" || overdue_professional_standing || + received_professional_standing "admin" elsif %w[ potential_duplicate_in_dqt diff --git a/spec/lib/application_form_status_updater_spec.rb b/spec/lib/application_form_status_updater_spec.rb index 7a4e2f1391..583cdbb537 100644 --- a/spec/lib/application_form_status_updater_spec.rb +++ b/spec/lib/application_form_status_updater_spec.rb @@ -226,7 +226,7 @@ create(:professional_standing_request, :received, assessment:) end - include_examples "changes action required by", "assessor" + include_examples "changes action required by", "admin" include_examples "changes stage", "verification" include_examples "changes status", "received"