-
Notifications
You must be signed in to change notification settings - Fork 166
LG-12270: Audit ipp mock data and test helpers #11573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e82d085
3fd90c6
6e11a6b
73bcdc0
f8a1bec
279ba3a
1f98990
0480314
39eea3a
1186b9e
5f8590c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -225,15 +225,21 @@ | |
| expect(subject.user_session['idv/in_person'][:pii_from_user]).to_not have_key attr | ||
| end | ||
|
|
||
| make_pii | ||
| build_pii_before_state_id_update | ||
|
|
||
| # pii includes address attrs on re-visiting state id pg | ||
| # since same_address_as_id was initially true, pii includes residential address attrs, | ||
| # which are the same as state id address attrs, on re-visiting state id pg | ||
| expect(subject.user_session['idv/in_person'][:pii_from_user]).to include( | ||
| address1:, | ||
| address2:, | ||
| city:, | ||
| state:, | ||
| zipcode:, | ||
| identity_doc_address1:, | ||
| identity_doc_address2:, | ||
| identity_doc_city:, | ||
| identity_doc_address_state:, | ||
| identity_doc_zipcode:, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This test looks like it checks the data before the PUT. What do you think about confirming that the residential address data is included in pii_from_user at this point? (in addition to the state ID address) |
||
| address1: identity_doc_address1, | ||
| address2: identity_doc_address2, | ||
| city: identity_doc_city, | ||
| state: identity_doc_address_state, | ||
| zipcode: identity_doc_zipcode, | ||
| ) | ||
|
|
||
| # On Verify, user changes response from "Yes,..." to | ||
|
|
@@ -285,7 +291,7 @@ | |
| expect(subject.user_session['idv/in_person'][:pii_from_user]).to_not have_key attr | ||
| end | ||
|
|
||
| make_pii(same_address_as_id: 'false') | ||
| build_pii_before_state_id_update(same_address_as_id: 'false') | ||
|
|
||
| # On Verify, user changes response from "No,..." to | ||
| # "Yes, I live at the address on my state-issued ID | ||
|
|
@@ -322,7 +328,7 @@ | |
| end | ||
|
|
||
| # User picks "No, I live at a different address" on state ID | ||
| make_pii(same_address_as_id: 'false') | ||
| build_pii_before_state_id_update(same_address_as_id: 'false') | ||
|
|
||
| # On Verify, user does not changes response "No,..." | ||
| put :update, params: params | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.