diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-07-10 03:32:03 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-07-10 03:32:03 -0400 |
commit | a043ee5eed5eae2d1629fe7fd7546767b74bf586 (patch) | |
tree | 420d17e0e09baa016dd9c2591522e4997ba459d4 /src/testing/test_merchant_api.c | |
parent | b08d3066dc01123b71912aa708d3e35e7e4c257b (diff) | |
download | merchant-a043ee5eed5eae2d1629fe7fd7546767b74bf586.tar.gz merchant-a043ee5eed5eae2d1629fe7fd7546767b74bf586.tar.bz2 merchant-a043ee5eed5eae2d1629fe7fd7546767b74bf586.zip |
checks for refunds and transfers returned in merchant get order
Diffstat (limited to 'src/testing/test_merchant_api.c')
-rw-r--r-- | src/testing/test_merchant_api.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c index 9fee2e3e..7f418c99 100644 --- a/src/testing/test_merchant_api.c +++ b/src/testing/test_merchant_api.c @@ -445,6 +445,10 @@ run (void *cls, TALER_TESTING_cmd_end () }; + const char *order_1r_refunds[] = { + "refund-increase-1r", + NULL + }; struct TALER_TESTING_Command refund[] = { cmd_transfer_to_exchange ("create-reserve-1r", "EUR:10.02"), @@ -520,6 +524,15 @@ run (void *cls, MHD_HTTP_OK, "refund-increase-1r", NULL), + TALER_TESTING_cmd_merchant_get_order2 ("get-order-merchant-1r-2", + merchant_url, + "create-proposal-1r", + true, + false, + NULL, + true, + order_1r_refunds, + MHD_HTTP_OK), #if 0 TALER_TESTING_cmd_poll_payment_conclude ("poll-payment-refund-conclude-1", MHD_HTTP_OK, |