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.c | |
parent | 7d43ad56d3a43cc38b4ca0278145b237ca8e4bbb (diff) | |
download | exchange-e8a892c29aed9b08f800878ad4d6e789f9571b64.tar.gz exchange-e8a892c29aed9b08f800878ad4d6e789f9571b64.tar.bz2 exchange-e8a892c29aed9b08f800878ad4d6e789f9571b64.zip |
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.c')
-rw-r--r-- | src/lib/test_exchange_api.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/test_exchange_api.c b/src/lib/test_exchange_api.c index e317f7a7..dc868d1d 100644 --- a/src/lib/test_exchange_api.c +++ b/src/lib/test_exchange_api.c @@ -688,7 +688,8 @@ run (void *cls, TALER_TESTING_cmd_payback ("payback-1", MHD_HTTP_OK, "payback-withdraw-coin-1", - "EUR:5"), + "EUR:5", + NULL), /* Check the money is back with the reserve */ TALER_TESTING_cmd_status ("payback-reserve-status-1", @@ -799,11 +800,13 @@ run (void *cls, TALER_TESTING_cmd_payback ("payback-2", MHD_HTTP_OK, "payback-withdraw-coin-2a", - "EUR:0.5"), + "EUR:0.5", + NULL), TALER_TESTING_cmd_payback ("payback-2b", MHD_HTTP_FORBIDDEN, "payback-withdraw-coin-2a", - "EUR:0.5"), + "EUR:0.5", + NULL), TALER_TESTING_cmd_deposit ("payback-deposit-revoked", |