diff options
Diffstat (limited to 'src/testing/test_exchange_api_revocation.c')
-rw-r--r-- | src/testing/test_exchange_api_revocation.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/testing/test_exchange_api_revocation.c b/src/testing/test_exchange_api_revocation.c index 9b66e20be..1a334a71b 100644 --- a/src/testing/test_exchange_api_revocation.c +++ b/src/testing/test_exchange_api_revocation.c @@ -139,7 +139,7 @@ run (void *cls, MHD_HTTP_GONE, "refresh-reveal-1#0", "refresh-melt-1", - NULL), + "EUR:0.1"), /* Make refreshed coin invalid */ TALER_TESTING_cmd_revoke ("revoke-2-EUR:5", MHD_HTTP_OK, @@ -155,44 +155,44 @@ run (void *cls, MHD_HTTP_CONFLICT, "withdraw-revocation-coin-2", NULL, - NULL), + "EUR:0.1"), /* Refund coin to original coin */ TALER_TESTING_cmd_recoup ("recoup-1a", MHD_HTTP_OK, "refresh-reveal-1#0", "refresh-melt-1", - NULL), + "EUR:1"), TALER_TESTING_cmd_recoup ("recoup-1b", MHD_HTTP_OK, "refresh-reveal-1#1", "refresh-melt-1", - NULL), + "EUR:1"), TALER_TESTING_cmd_recoup ("recoup-1c", MHD_HTTP_OK, "refresh-reveal-1#2", "refresh-melt-1", - NULL), + "EUR:1"), /* Repeat recoup to test idempotency */ TALER_TESTING_cmd_recoup ("recoup-1c", MHD_HTTP_OK, "refresh-reveal-1#2", "refresh-melt-1", - NULL), + "EUR:1"), TALER_TESTING_cmd_recoup ("recoup-1c", MHD_HTTP_OK, "refresh-reveal-1#2", "refresh-melt-1", - NULL), + "EUR:1"), TALER_TESTING_cmd_recoup ("recoup-1c", MHD_HTTP_OK, "refresh-reveal-1#2", "refresh-melt-1", - NULL), + "EUR:1"), TALER_TESTING_cmd_recoup ("recoup-1c", MHD_HTTP_OK, "refresh-reveal-1#2", "refresh-melt-1", - NULL), + "EUR:1"), /* Now we have EUR:3.83 EUR back after 3x EUR:1 in recoups */ /* Melt original coin AGAIN, but only create one 0.1 EUR coin; This costs EUR:0.03 in refresh and EUR:01 in withdraw fees, @@ -223,7 +223,7 @@ run (void *cls, MHD_HTTP_OK, "refresh-reveal-2", "refresh-melt-2", - NULL), + "EUR:0.1"), /* Due to recoup, original coin is now at EUR:3.79 */ /* Refund original (now zombie) coin to reserve */ TALER_TESTING_cmd_recoup ("recoup-3", |