diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-08-27 13:57:21 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-08-27 13:57:21 -0400 |
commit | 01d4723f8e58a7b68b0d814b58cc6c3e72702575 (patch) | |
tree | 60ef3ab071f68b8ced300e51a7fda89325fb28e7 /src/include/taler_merchant_testing_lib.h | |
parent | d354d119db7ca0195cb93140bf3160b11449fa92 (diff) | |
download | merchant-01d4723f8e58a7b68b0d814b58cc6c3e72702575.tar.gz merchant-01d4723f8e58a7b68b0d814b58cc6c3e72702575.tar.bz2 merchant-01d4723f8e58a7b68b0d814b58cc6c3e72702575.zip |
address some backend fixmes
Diffstat (limited to 'src/include/taler_merchant_testing_lib.h')
-rw-r--r-- | src/include/taler_merchant_testing_lib.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/taler_merchant_testing_lib.h b/src/include/taler_merchant_testing_lib.h index 98751ce9..aa0211a9 100644 --- a/src/include/taler_merchant_testing_lib.h +++ b/src/include/taler_merchant_testing_lib.h @@ -614,6 +614,27 @@ TALER_TESTING_cmd_wallet_get_order (const char *label, /** + * Start a long poll for GET /private/orders/$ORDER_ID. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_wallet_poll_order_start ( + const char *label, + const char *merchant_url, + const char *order_id, + struct GNUNET_TIME_Relative timeout); + + +/** + * Complete a long poll for GET /private/orders/$ORDER_ID. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_wallet_poll_order_conclude ( + const char *label, + unsigned int http_status, + const char *poll_start_reference); + + +/** * Define a GET /private/orders/$ORDER_ID CMD. * * @param label the command label |