Skip to content

LG-7944 Return false from reproof_for_irs? if a user has never proofed#7244

Merged
jmhooper merged 4 commits intomainfrom
jmhooper-irs-reproof
Oct 28, 2022
Merged

LG-7944 Return false from reproof_for_irs? if a user has never proofed#7244
jmhooper merged 4 commits intomainfrom
jmhooper-irs-reproof

Conversation

@jmhooper
Copy link
Contributor

This is necessary to prevent a bug where the "Reproof for IRS" modal appeared when users where proofing with IRS for the first time.

Also, this makes logical sense since a user who has not proofed before cannot reproof

This is necessary to prevent a bug where the "Reproof for IRS" modal appeared when users where proofing with IRS for the first time.

Also, this makes logical sense since a user who has not proofed before cannot reproof
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

end

context 'an attempts API service provider' do
let(:service_provider) { create(:service_provider, :irs) }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀 I hadn't seen the :irs factory bit, neat!

@jmhooper jmhooper merged commit ab682b4 into main Oct 28, 2022
@jmhooper jmhooper deleted the jmhooper-irs-reproof branch October 28, 2022 19:00
aduth pushed a commit that referenced this pull request Oct 31, 2022
#7244)

This is necessary to prevent a bug where the "Reproof for IRS" modal appeared when users where proofing with IRS for the first time.

Also, this makes logical sense since a user who has not proofed before cannot reproof

[skip changelog]
@aduth aduth mentioned this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants