summaryrefslogtreecommitdiff
path: root/src/lib/test_merchant_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-11 00:31:59 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-11 00:31:59 +0200
commit19c56c7eb81efc272d864d6765d7d61943141ce2 (patch)
treee566702badb4bae31a3d424cbdf523a8e44004d1 /src/lib/test_merchant_api.c
parent6d978efe14aa90564ce9257a23bcb2854ba07036 (diff)
downloadmerchant-19c56c7eb81efc272d864d6765d7d61943141ce2.tar.gz
merchant-19c56c7eb81efc272d864d6765d7d61943141ce2.tar.bz2
merchant-19c56c7eb81efc272d864d6765d7d61943141ce2.zip
adding test for #5985
Diffstat (limited to 'src/lib/test_merchant_api.c')
-rw-r--r--src/lib/test_merchant_api.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index 1f3626ec..349be0ae 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -499,6 +499,11 @@ run (void *cls,
"EUR:5",
"EUR:4.99",
"EUR:0.01"),
+ TALER_TESTING_cmd_poll_payment_start ("poll-payment-refund-1",
+ merchant_url,
+ "create-proposal-1r",
+ "EUR:0.0",
+ GNUNET_TIME_UNIT_MINUTES),
TALER_TESTING_cmd_refund_increase ("refund-increase-1r",
merchant_url,
"refund test",
@@ -506,6 +511,10 @@ run (void *cls,
"EUR:0.1",
"EUR:0.01",
MHD_HTTP_OK),
+ TALER_TESTING_cmd_poll_payment_conclude ("poll-payment-refund-conclude-1",
+ MHD_HTTP_OK,
+ "poll-payment-refund-1",
+ GNUNET_YES),
/* Ordinary refund. */
TALER_TESTING_cmd_refund_lookup ("refund-lookup-1r",
merchant_url,