From 9e3f4bdd791f87df25cfd2b818c7ef385b78b35d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 24 Jul 2019 11:57:03 +0200 Subject: getting revocation/payback test with refreshed coins to pass --- src/include/taler_exchange_service.h | 1 + src/include/taler_testing_lib.h | 15 +++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 7bcfee9e4..4ced8ad92 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -511,6 +511,7 @@ TALER_EXCHANGE_get_signing_key_details (const struct TALER_EXCHANGE_Keys *keys, const char * TALER_EXCHANGE_get_base_url (const struct TALER_EXCHANGE_Handle *exchange); + /** * Obtain the denomination key details from the exchange. * diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index c08cfdc5c..41cc8b501 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -131,6 +131,7 @@ TALER_TESTING_cert_cb const struct TALER_EXCHANGE_Keys *keys, enum TALER_EXCHANGE_VersionCompatibility compat); + /** * Wait for the exchange to have started. Waits for at * most 10s, after that returns 77 to indicate an error. @@ -1108,19 +1109,18 @@ TALER_TESTING_cmd_deposit_with_retry * Create a "refresh melt" command. * * @param label command label. - * @param amount amount to be melted. * @param coin_reference reference to a command * that will provide a coin to refresh. * @param expected_response_code expected HTTP code. - * + * @param ... NULL-terminated list of amounts to be melted * @return the command. */ struct TALER_TESTING_Command TALER_TESTING_cmd_refresh_melt (const char *label, - const char *amount, const char *coin_reference, - unsigned int expected_response_code); + unsigned int expected_response_code, + ...); /** @@ -1129,19 +1129,18 @@ TALER_TESTING_cmd_refresh_melt * request, see #5312. * * @param label command label - * @param amount FIXME not used. * @param coin_reference reference to a command that will provide * a coin to refresh * @param expected_response_code expected HTTP code - * + * @param ... NULL-terminated list of amounts to be melted * @return the command. */ struct TALER_TESTING_Command TALER_TESTING_cmd_refresh_melt_double (const char *label, - const char *amount, const char *coin_reference, - unsigned int expected_response_code); + unsigned int expected_response_code, + ...); /** -- cgit v1.2.3