Skip to content

Commit

Permalink
Merge pull request #9469 from DFE-Digital/1777-bug-acceptedat-field-r…
Browse files Browse the repository at this point in the history
…everting-to-nil-when-support-reverts-recruited

Do not set accepted_at to nil when reverting from recruited to pending
  • Loading branch information
inulty-dfe authored Jun 17, 2024
2 parents 198cec0 + 1d4ce2f commit bd71f67
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def save!
@application_choice.update!(
status: :pending_conditions,
recruited_at: nil,
accepted_at: nil,
audit_comment: "Support request to revert recruited application to pending conditions: #{@zendesk_ticket}",
)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
expect(application_choice.attributes.symbolize_keys).to match(
a_hash_including({
recruited_at: nil,
accepted_at: nil,
status: 'pending_conditions',
}),
)
Expand Down

0 comments on commit bd71f67

Please sign in to comment.