summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-10 23:17:55 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-10 23:17:55 +0200
commit8ea4e50ac7b4c1ee0869d5565e86c2eecbd6ddca (patch)
treebef83beff140a26c4be8e6171bd3398fb50a6ccd
parent7085cfef70889a11508cdac4cd887b9959f59218 (diff)
downloadexchange-8ea4e50ac7b4c1ee0869d5565e86c2eecbd6ddca.tar.gz
exchange-8ea4e50ac7b4c1ee0869d5565e86c2eecbd6ddca.tar.bz2
exchange-8ea4e50ac7b4c1ee0869d5565e86c2eecbd6ddca.zip
test coin-reuse with recoup as well
-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 75e3d480f..e410b1805 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",