merchant

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

commit 8284c9aa2ca7380368c3ee1da334bef0132b3f38
parent aa9699384375813371016dfaf89920e1118d4f4a
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Fri, 16 Mar 2018 16:55:03 +0100

unparsable response for proposal-lookup.

Diffstat:
Msrc/lib/test_merchant_api_twisted.c | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/lib/test_merchant_api_twisted.c b/src/lib/test_merchant_api_twisted.c @@ -300,6 +300,19 @@ run (void *cls, MHD_HTTP_NOT_FOUND, NULL, "does-not-exist"), + /* Cause a unparsable response to be returned. */ + TALER_TESTING_cmd_malform_response + ("malform-proposal-lookup", + PROXY_MERCHANT_CONFIG_FILE), + /* To be short, we'll make a _error_ response to be + * unparsable. */ + TALER_TESTING_cmd_proposal_lookup ("lookup-1", + is->ctx, + twister_merchant_url, + 0, // response code. + NULL, + "does-not-exist"), + /**** Covering /history lib ****/ /**