diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-07-23 21:56:21 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-07-23 21:56:21 +0200 |
commit | e8a892c29aed9b08f800878ad4d6e789f9571b64 (patch) | |
tree | 6413889eb304d1f30650ec13d02c1f225b4f381c /src/lib/test_exchange_api_revocation.c | |
parent | 7d43ad56d3a43cc38b4ca0278145b237ca8e4bbb (diff) | |
download | exchange-e8a892c29aed9b08f800878ad4d6e789f9571b64.tar.xz |
modify /payback API and test usage of that API to pass/return additional information required when dealing with payback of refreshed coins
Diffstat (limited to 'src/lib/test_exchange_api_revocation.c')
-rw-r--r-- | src/lib/test_exchange_api_revocation.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/test_exchange_api_revocation.c b/src/lib/test_exchange_api_revocation.c index e2e3e4b4f..090b38b25 100644 --- a/src/lib/test_exchange_api_revocation.c +++ b/src/lib/test_exchange_api_revocation.c @@ -162,7 +162,8 @@ run (void *cls, TALER_TESTING_cmd_payback ("payback-1", MHD_HTTP_OK, "refresh-reveal-1", - "EUR:5"), + "EUR:5", + "refresh-melt-1"), /** * Melt original coin AGAIN * (EUR:4.00 = 3x EUR:1.03 + 7x EUR:0.13) */ @@ -189,12 +190,14 @@ run (void *cls, TALER_TESTING_cmd_payback ("payback-2", MHD_HTTP_OK, "refresh-melt-2", - "EUR:5"), + "EUR:5", + "refresh-melt-2"), /* Refund original coin to reserve */ TALER_TESTING_cmd_payback ("payback-3", MHD_HTTP_OK, "withdraw-coin-1", - "EUR:5"), + "EUR:5", + NULL), /* Check the money is back with the reserve */ TALER_TESTING_cmd_status ("payback-reserve-status-1", "create-reserve-1", |