From 071554a7ac031cc859355b5ee353a708c0c5cea5 Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Wed, 8 Jul 2020 16:38:55 -0400 Subject: removed more old code, more tests for post order, some twister tests for merchant-exchange requests --- src/include/taler_merchant_testing_lib.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/include/taler_merchant_testing_lib.h') diff --git a/src/include/taler_merchant_testing_lib.h b/src/include/taler_merchant_testing_lib.h index e1908fdd..a1a283f6 100644 --- a/src/include/taler_merchant_testing_lib.h +++ b/src/include/taler_merchant_testing_lib.h @@ -485,6 +485,25 @@ TALER_TESTING_cmd_merchant_post_orders (const char *label, const char *order); +/** + * Make the "proposal" command. + * + * @param label command label + * @param merchant_url base URL of the merchant serving + * the proposal request. + * @param http_status expected HTTP status. + * @param order the order to PUT to the merchant. + * @param payment_target payment target for the order. + * @return the command + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_merchant_post_orders2 (const char *label, + const char *merchant_url, + unsigned int http_status, + const char *order, + const char *payment_target); + + /** * Define a "GET /orders" CMD. * -- cgit v1.2.3