summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testing/test_exchange_api.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c
index 75e3d480..e410b180 100644
--- a/src/testing/test_exchange_api.c
+++ b/src/testing/test_exchange_api.c
@@ -841,6 +841,12 @@ run (void *cls,
MHD_HTTP_OK,
"recoup-withdraw-coin-2a",
CONFIG_FILE),
+ /* Check recoup is failing for the coin with the reused coin key */
+ TALER_TESTING_cmd_recoup ("recoup-2x",
+ MHD_HTTP_CONFLICT,
+ "withdraw-coin-1x",
+ NULL,
+ "EUR:1"),
TALER_TESTING_cmd_recoup ("recoup-2",
MHD_HTTP_OK,
"recoup-withdraw-coin-2a",