From b1932df0ce88c7d39502af58f19e0a709e08048c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 27 Nov 2020 00:26:30 +0100 Subject: add new cmd to revoke denominations via HTTP API --- src/include/taler_testing_lib.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 051726445..9ddc28a3b 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -2104,14 +2104,19 @@ TALER_TESTING_cmd_offline_sign_keys (const char *label, * Revoke an exchange denomination key. * * @param label command label. + * @param expected_http_status expected HTTP status from exchange + * @param bad_sig should we use a bogus signature? * @param denom_ref reference to a command that identifies * a denomination key (i.e. because it was used to * withdraw a coin). * @return the command */ struct TALER_TESTING_Command -TALER_TESTING_cmd_revoke_denom_key (const char *label, - const char *denom_ref); +TALER_TESTING_cmd_revoke_denomination ( + const char *label, + unsigned int expected_response_code, + bool bad_sig, + const char *denom_ref); /** -- cgit v1.2.3