merchant

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

commit cc53025af7b9aec2f37bc07a411f1ae666430b8d
parent 805549df6b52c2c493baaca0e1638b4dc437d735
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 11 Jul 2022 15:37:25 +0200

fix test now that libtalermerchant returns the actual HTTP status code

Diffstat:
Msrc/testing/test_merchant_api.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c @@ -375,7 +375,7 @@ run (void *cls, false, false, false, - MHD_HTTP_OK), + MHD_HTTP_PAYMENT_REQUIRED), TALER_TESTING_cmd_merchant_get_order ("get-order-merchant-1", merchant_url, "create-proposal-1", @@ -414,7 +414,7 @@ run (void *cls, "poll-order-wallet-start-1"), /* Here we expect to run into a timeout, as we do not pay this one */ TALER_TESTING_cmd_wallet_poll_order_conclude2 ("poll-order-1x-conclude", - MHD_HTTP_OK, + MHD_HTTP_PAYMENT_REQUIRED, NULL, "poll-order-wallet-start-1x", "1"),