Skip to content

Commit

Permalink
RST-5544 Allow paper application for HMRC check (#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaparka authored Jul 11, 2023
1 parent 756143d commit 50c4233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/models/concerns/application_checkable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ def skip_ev_check?
end

def hmrc_check_type?
hmrc_office_match? && !applicant.married &&
digital?
hmrc_office_match? && !applicant.married
end

private
Expand Down
2 changes: 1 addition & 1 deletion spec/models/concerns/application_checkable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

context 'paper application' do
let(:medium) { 'paper' }
it { expect(application.hmrc_check_type?).to be false }
it { expect(application.hmrc_check_type?).to be true }
end

context 'tax credit declared' do
Expand Down

0 comments on commit 50c4233

Please sign in to comment.