diff options
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 9bd7396b..bfc407cb 100644 --- a/src/include/taler_merchant_testing_lib.h +++ b/src/include/taler_merchant_testing_lib.h @@ -121,6 +121,25 @@ TALER_TESTING_cmd_merchant_post_instances (const char *label, /** + * Define a "POST /private/auth" CMD. + * + * @param label command label. + * @param merchant_url base URL of the merchant serving the + * POST /instances request. + * @param instance_id the ID of the instance, or NULL + * @param auth_token new auth token to use, can be NULL for no auth + * @param http_status expected HTTP response code. + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_merchant_post_instance_auth (const char *label, + const char *merchant_url, + const char *instance_id, + const char *auth_token, + unsigned int http_status); + + +/** * Define a "POST /instances" CMD. Comprehensive version. * * @param label command label. |