aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_exchange_api.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-23 12:28:08 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-23 12:28:08 +0530
commita57fd6c4b3cf83aa53d5e172d224e37562cd26c4 (patch)
tree31dc03f6873f110446575c419130a4303ab33145 /src/testing/test_exchange_api.c
parent3480146a6658f16d8a12d9653cb2e8b358c595c8 (diff)
fix test case (old one required recoup to *not* be idempotent
Diffstat (limited to 'src/testing/test_exchange_api.c')
-rw-r--r--src/testing/test_exchange_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c
index e62223303..d239aae66 100644
--- a/src/testing/test_exchange_api.c
+++ b/src/testing/test_exchange_api.c
@@ -682,8 +682,9 @@ run (void *cls,
MHD_HTTP_OK,
"recoup-withdraw-coin-2a",
NULL),
+ /* Idempotency of recoup (withdrawal variant) */
TALER_TESTING_cmd_recoup ("recoup-2b",
- MHD_HTTP_CONFLICT,
+ MHD_HTTP_OK,
"recoup-withdraw-coin-2a",
NULL),
TALER_TESTING_cmd_deposit ("recoup-deposit-revoked",