build exchange url at (withdraw) command creation.

This commit is contained in:
Marcello Stanisci 2018-03-21 15:48:12 +01:00
parent 8fe985c767
commit 9cc813adec
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -354,6 +354,8 @@ TALER_TESTING_cmd_withdraw_amount
}
ws->expected_response_code = expected_response_code;
ws->exchange = exchange;
ws->exchange_url = MAH_path_to_url (exchange, "/");
cmd.cls = ws;
cmd.label = label;
cmd.run = &withdraw_run;
@ -390,7 +392,7 @@ TALER_TESTING_cmd_withdraw_denomination
ws->pk = dk;
ws->expected_response_code = expected_response_code;
ws->exchange = exchange;
ws->exchange_url = MAH_path_to_url (ws->exchange, "/");
ws->exchange_url = MAH_path_to_url (exchange, "/");
cmd.cls = ws;
cmd.label = label;