aboutsummaryrefslogtreecommitdiff
path: root/src/lib/test_merchant_api_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/test_merchant_api_new.c')
-rw-r--r--src/lib/test_merchant_api_new.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/lib/test_merchant_api_new.c b/src/lib/test_merchant_api_new.c
index e6d0c008..75009819 100644
--- a/src/lib/test_merchant_api_new.c
+++ b/src/lib/test_merchant_api_new.c
@@ -977,25 +977,28 @@ run (void *cls,
977 \"value\":\"{EUR:10}\"} ] }", 977 \"value\":\"{EUR:10}\"} ] }",
978 NULL), 978 NULL),
979 979
980 /* This CMD will (1) successfully deposit `withdraw-coin-11a' 980 TALER_TESTING_cmd_pay ("pay-fail-partial-double-11-good",
981 * and subsequently _fail_ to deposit `withdraw-coin-1', 981 merchant_url,
982 * because of double spending. The abort CMD then will try 982 is->ctx,
983 * to get a refund permission out of that first coin that 983 MHD_HTTP_NOT_ACCEPTABLE,
984 * was regularly spent, and eventually abort refund CMD, will 984 "create-proposal-11",
985 * get the actual refund coin from the exchange. */ 985 "withdraw-coin-11a",
986 TALER_TESTING_cmd_pay ("pay-fail-partial-double-11", 986 "EUR:5",
987 "EUR:4.99",
988 "EUR:0.01"),
989 TALER_TESTING_cmd_pay ("pay-fail-partial-double-11-bad",
987 merchant_url, 990 merchant_url,
988 is->ctx, 991 is->ctx,
989 MHD_HTTP_FORBIDDEN, 992 MHD_HTTP_FORBIDDEN,
990 "create-proposal-11", 993 "create-proposal-11",
991 "withdraw-coin-11a;withdraw-coin-1", 994 "withdraw-coin-1",
992 "EUR:5", 995 "EUR:5",
993 "EUR:4.99", 996 "EUR:4.99",
994 "EUR:0.01"), 997 "EUR:0.01"),
995 998
996 TALER_TESTING_cmd_pay_abort ("pay-abort-11", 999 TALER_TESTING_cmd_pay_abort ("pay-abort-11",
997 merchant_url, 1000 merchant_url,
998 "pay-fail-partial-double-11", 1001 "pay-fail-partial-double-11-good",
999 is->ctx, 1002 is->ctx,
1000 MHD_HTTP_OK), 1003 MHD_HTTP_OK),
1001 1004