diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-07-08 16:38:55 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-07-08 16:38:55 -0400 |
commit | 071554a7ac031cc859355b5ee353a708c0c5cea5 (patch) | |
tree | 1a1474f59e0645669f56018abb9f3f487230247f /src/include/taler_merchant_testing_lib.h | |
parent | a5e33f1a6d3f865a7c169783c63007cfdd3c30eb (diff) | |
download | merchant-071554a7ac031cc859355b5ee353a708c0c5cea5.tar.gz merchant-071554a7ac031cc859355b5ee353a708c0c5cea5.tar.bz2 merchant-071554a7ac031cc859355b5ee353a708c0c5cea5.zip |
removed more old code, more tests for post order, some twister tests for merchant-exchange requests
Diffstat (limited to 'src/include/taler_merchant_testing_lib.h')
-rw-r--r-- | src/include/taler_merchant_testing_lib.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ -486,6 +486,25 @@ TALER_TESTING_cmd_merchant_post_orders (const char *label, /** + * 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. * * @param label command label. |