Skip to content

Commit

Permalink
chore(fixtures): add new verifier and reference in agency
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Mar 22, 2022
1 parent 32b0cf2 commit b81b853
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions fixtures/02_eligibilityverifier.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,38 @@
"unverified_content_title": "eligibility.pages.unverified.content_title",
"unverified_blurb": "eligibility.pages.unverified.p[0]"
}
},
{
"model": "core.eligibilityverifier",
"pk": 2,
"fields": {
"name": "Second Test Eligibility Verifier",
"api_url": "http://server:5000/verify",
"api_auth_header": "X-Server-API-Key",
"api_auth_key": "server-auth-token",
"eligibility_types": [1, 2],
"public_key": 1,
"jwe_cek_enc": "A256CBC-HS512",
"jwe_encryption_alg": "RSA-OAEP",
"jws_signing_alg": "RS256",
"selection_label": "",
"selection_label_description": null,
"start_content_title": "eligibility.pages.start.content_title",
"start_item_name": "eligibility.pages.start.items[0].title",
"start_item_description": "eligibility.pages.start.items[0].text",
"start_blurb": "eligibility.pages.start.p[0]",
"form_title": "eligibility.pages.confirm.title",
"form_content_title": "eligibility.pages.confirm.content_title",
"form_blurb": "eligibility.pages.confirm.p[0]",
"form_sub_label": "eligibility.forms.confirm.fields.sub",
"form_sub_placeholder": "",
"form_sub_pattern": ".+",
"form_name_label": "eligibility.forms.confirm.fields.name",
"form_name_placeholder": "",
"form_name_max_length": 255,
"unverified_title": "eligibility.pages.unverified.title",
"unverified_content_title": "eligibility.pages.unverified.content_title",
"unverified_blurb": "eligibility.pages.unverified.p[0]"
}
}
]
2 changes: 1 addition & 1 deletion fixtures/04_transitagency.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"eligibility_types": [
2
],
"eligibility_verifiers": [1],
"eligibility_verifiers": [1, 2],
"private_key": 2,
"jws_signing_alg": "RS256",
"payment_processor": 1
Expand Down

0 comments on commit b81b853

Please sign in to comment.