summaryrefslogtreecommitdiff
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
parent3480146a6658f16d8a12d9653cb2e8b358c595c8 (diff)
downloadexchange-a57fd6c4b3cf83aa53d5e172d224e37562cd26c4.tar.gz
exchange-a57fd6c4b3cf83aa53d5e172d224e37562cd26c4.tar.bz2
exchange-a57fd6c4b3cf83aa53d5e172d224e37562cd26c4.zip
fix test case (old one required recoup to *not* be idempotent
-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 e6222330..d239aae6 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",