merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 41c94440752e4c51d889c9eef64475c091546c14
parent d38e116d7e79aa3e55f0d5ce8c8e2ad24196068f
Author: Jonathan Buchanan <jonathan.russ.buchanan@gmail.com>
Date:   Fri, 12 Jun 2020 13:45:53 -0400

test with MHD error

Diffstat:
Msrc/lib/merchant_api_tip_authorize.c | 2+-
Msrc/testing/test_merchant_api.c | 6++++++
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/lib/merchant_api_tip_authorize.c b/src/lib/merchant_api_tip_authorize.c @@ -341,7 +341,7 @@ TALER_MERCHANT_tip_authorize (struct GNUNET_CURL_Context *ctx, tao->cb_cls = authorize_cb_cls; tao->url = TALER_url_join (backend_url, - "/private/tips", + "private/tips", NULL); if (NULL == tao->url) { diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c @@ -642,6 +642,12 @@ run (void *cls, EXCHANGE_URL, "x-taler-bank", MHD_HTTP_OK), + TALER_TESTING_cmd_tip_authorize ("authorize-tip-1", + merchant_url_internal ("tip"), + EXCHANGE_URL, + MHD_HTTP_OK, + "tip 1", + "EUR:5.01"), #if 0 /* Test tipping. */ TALER_TESTING_cmd_admin_add_incoming_with_instance ("create-reserve-tip-1",