summaryrefslogtreecommitdiff
path: root/src/exchange-lib/test_exchange_api_new.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-17 15:35:45 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-17 15:35:45 +0200
commit5e1178a74b9d581910bb1067a195e59f3c6ddcd2 (patch)
treefd526a2d916a8705c312e2659ed5d28c3cfb7eff /src/exchange-lib/test_exchange_api_new.c
parentc0c5bd3ba70d6e75bbcc1cb9cb275569e451a5e4 (diff)
downloadexchange-5e1178a74b9d581910bb1067a195e59f3c6ddcd2.tar.gz
exchange-5e1178a74b9d581910bb1067a195e59f3c6ddcd2.tar.bz2
exchange-5e1178a74b9d581910bb1067a195e59f3c6ddcd2.zip
Trigger double(-successful) refund.
Diffstat (limited to 'src/exchange-lib/test_exchange_api_new.c')
-rw-r--r--src/exchange-lib/test_exchange_api_new.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange-lib/test_exchange_api_new.c b/src/exchange-lib/test_exchange_api_new.c
index 8d39ca087..eeead787d 100644
--- a/src/exchange-lib/test_exchange_api_new.c
+++ b/src/exchange-lib/test_exchange_api_new.c
@@ -496,6 +496,10 @@ run (void *cls,
("refund-ok", MHD_HTTP_OK,
"EUR:5", "EUR:0.01", "deposit-refund-1"),
+ TALER_TESTING_cmd_refund
+ ("refund-ok-double", MHD_HTTP_OK,
+ "EUR:5", "EUR:0.01", "deposit-refund-1"),
+
/**
* Spend 4.99 EUR of the refunded 4.99 EUR coin (1ct gone
* due to refund) (merchant would receive EUR:4.98 due to