diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-15 21:08:33 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-15 21:08:33 -0400 |
commit | 63c035bfffaec9b245da58828f7d6504278fc46e (patch) | |
tree | d0cf387fb1545bfcfb5f413236d92b6033ef721e /src/include/taler_merchant_testing_lib.h | |
parent | 1d22e4f8b263446f24fbdb3d2b92f7c1f2939f48 (diff) | |
download | merchant-63c035bfffaec9b245da58828f7d6504278fc46e.tar.gz merchant-63c035bfffaec9b245da58828f7d6504278fc46e.tar.bz2 merchant-63c035bfffaec9b245da58828f7d6504278fc46e.zip |
test for GET /private/reserves/
Diffstat (limited to 'src/include/taler_merchant_testing_lib.h')
-rw-r--r-- | src/include/taler_merchant_testing_lib.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/taler_merchant_testing_lib.h b/src/include/taler_merchant_testing_lib.h index 83de9763..60846a9e 100644 --- a/src/include/taler_merchant_testing_lib.h +++ b/src/include/taler_merchant_testing_lib.h @@ -582,6 +582,22 @@ TALER_TESTING_cmd_merchant_post_reserves (const char *label, const char *wire_method, unsigned int http_status); +/** + * Define a "GET reserve" CMD. + * + * @param label command label. + * @param merchant_url base URL of the merchant serving the request. + * @param http_status expected HTTP response code. + * @param reserve_reference reference to a "POST /reserves" that provides the + * information we are expecting. + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_merchant_get_reserve (const char *label, + const char *merchant_url, + unsigned int http_status, + const char *reserve_reference); + /** * Define a "GET /reserves" CMD |