summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-18 22:39:47 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-18 22:39:47 +0530
commit278cec1fefc09cb2be8327bfe68b34214a780e19 (patch)
tree8ac5bf811c40ba2924c3935b4efa3896bb784abf /src/testing
parentb1cfcf4fbe23609b5f7f91454f24f6ad384f42ce (diff)
downloadexchange-278cec1fefc09cb2be8327bfe68b34214a780e19.tar.gz
exchange-278cec1fefc09cb2be8327bfe68b34214a780e19.tar.bz2
exchange-278cec1fefc09cb2be8327bfe68b34214a780e19.zip
make refund test case fail to show broken implementation
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_exchange_api_revocation.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testing/test_exchange_api_revocation.c b/src/testing/test_exchange_api_revocation.c
index 6a9cdefe..27a750d4 100644
--- a/src/testing/test_exchange_api_revocation.c
+++ b/src/testing/test_exchange_api_revocation.c
@@ -129,6 +129,16 @@ run (void *cls,
"refresh-reveal-1#2",
"EUR:1",
"refresh-melt-1"),
+ TALER_TESTING_cmd_recoup ("recoup-1c",
+ MHD_HTTP_OK,
+ "refresh-reveal-1#2",
+ "EUR:1",
+ "refresh-melt-1"),
+ TALER_TESTING_cmd_recoup ("recoup-1c",
+ MHD_HTTP_OK,
+ "refresh-reveal-1#2",
+ "EUR:1",
+ "refresh-melt-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,