Skip to content

Commit

Permalink
test: remove reading body from file since the microservices urls must…
Browse files Browse the repository at this point in the history
… be read from env variables (#53)

* test: remove reading body from file since the microservices urls must be read from env variables

* test: fix input data
  • Loading branch information
matteo-cristino authored Sep 19, 2024
1 parent 18fa2a8 commit 5e46ff0
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions test/step_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ steps:
http:
url: http://${{env.mz_host}}/holder_qr_to_well-known
method: POST
body:
file: ${{env.path_to_wallet}}/wallet/holder_qr_to_well-known.data.json
json:
"!external-qr-code-content":
credential_configuration_ids:
- test_credential
credential_issuer: http://${{env.ci_host}}
captures:
credential_parameters:
jsonpath: $.credential_parameters
Expand Down Expand Up @@ -123,8 +126,15 @@ steps:
http:
url: http://${{env.verifier_host}}/card_to_qr
method: POST
body:
file: ${{env.path_to_wallet}}/verifier/card_to_qr.data.json
json:
template: 4tusaoh7g5y6wyw
relying_party: http://${{env.rp_host}}
pb_url: https://admin.signroom.io
pb_api: /api/collections/templates_public_data/records
expires_in: 300
registrationToken: ehUYkktwQVWy_v9MXeTaf9:APA91bG28isX0dJJEzW6K5qA8N67-V7bZjYhEXYsWNyL_7xiJsBVTuKgEalgK_ajlK_6u2hY3tFlq0e649F4lhb909VHVfHGKrWFVb0uBdY61RmnLcxhwkltm2yyxxdXje1qWCavb281
m: f
id: hn20gz30ync7sng
captures:
params_json:
jsonpath: $.params_json
Expand Down

0 comments on commit 5e46ff0

Please sign in to comment.