summaryrefslogtreecommitdiff
path: root/src/testing/test_merchant_api.c
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-08-17 21:03:45 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-08-17 21:03:45 -0400
commitd8e64ae258b911d4243a0fd62e46585f54bb445b (patch)
tree45955e85655a3cbeb5d776738ed9ca271c762eaf /src/testing/test_merchant_api.c
parent14dda234f724e59eefb49d9d98b048ce1ce9059f (diff)
downloadmerchant-d8e64ae258b911d4243a0fd62e46585f54bb445b.tar.gz
merchant-d8e64ae258b911d4243a0fd62e46585f54bb445b.tar.bz2
merchant-d8e64ae258b911d4243a0fd62e46585f54bb445b.zip
testing and lib sources for new endpoint
Diffstat (limited to 'src/testing/test_merchant_api.c')
-rw-r--r--src/testing/test_merchant_api.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index 92fb3f43..8e5903e1 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -681,9 +681,7 @@ run (void *cls,
"create-proposal-1r",
true,
true,
- MHD_HTTP_OK,
- "refund-increase-1r",
- NULL),
+ MHD_HTTP_OK),
TALER_TESTING_cmd_merchant_order_refund ("refund-increase-1r-2",
merchant_url,
"refund test 2",
@@ -695,10 +693,14 @@ run (void *cls,
"create-proposal-1r",
true,
true,
- MHD_HTTP_OK,
- "refund-increase-1r",
- "refund-increase-1r-2",
- NULL),
+ MHD_HTTP_OK),
+ TALER_TESTING_cmd_wallet_order_refund ("obtain-refund-1r",
+ merchant_url,
+ "create-proposal-1r",
+ MHD_HTTP_OK,
+ "refund-increase-1r",
+ "refund-increase-1r-2",
+ NULL),
TALER_TESTING_cmd_merchant_get_order ("get-order-merchant-1r",
merchant_url,
"create-proposal-1r",