From e8a892c29aed9b08f800878ad4d6e789f9571b64 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 23 Jul 2019 21:56:21 +0200 Subject: modify /payback API and test usage of that API to pass/return additional information required when dealing with payback of refreshed coins --- src/lib/test_exchange_api_revocation.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/lib/test_exchange_api_revocation.c') diff --git a/src/lib/test_exchange_api_revocation.c b/src/lib/test_exchange_api_revocation.c index e2e3e4b4..090b38b2 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", -- cgit v1.2.3