Skip to content

Commit

Permalink
Add reply-to-id to FE policy
Browse files Browse the repository at this point in the history
  • Loading branch information
kenfodder committed Oct 7, 2024
1 parent 94d94a1 commit 5c75c8f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app/models/policies/further_education_payments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ module FurtherEducationPayments
# NOOP as PERSONAL_DATA_ATTRIBUTES_TO_RETAIN_FOR_EXTENDED_PERIOD is empty
EXTENDED_PERIOD_END_DATE = ->(start_of_academic_year) {}

# TODO: This is needed once the reply-to email address has been added to Gov Notify
def notify_reply_to_id
nil
"89939786-7078-4267-b197-ee505dfad8ae"
end

def verification_due_date_for_claim(claim)
Expand Down
19 changes: 19 additions & 0 deletions spec/models/further_education_payments_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require "rails_helper"

RSpec.describe Policies::FurtherEducationPayments, type: :model do
it { is_expected.to include(BasePolicy) }

it do
expect(subject::VERIFIERS).to eq([
AutomatedChecks::ClaimVerifiers::Identity,
AutomatedChecks::ClaimVerifiers::ProviderVerification,
AutomatedChecks::ClaimVerifiers::Employment
])
end

specify {
expect(subject).to have_attributes(
notify_reply_to_id: "89939786-7078-4267-b197-ee505dfad8ae"
)
}
end

0 comments on commit 5c75c8f

Please sign in to comment.