diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-07-24 11:57:03 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-07-24 11:57:03 +0200 |
commit | 9e3f4bdd791f87df25cfd2b818c7ef385b78b35d (patch) | |
tree | 88f9fad664fbc84bc642381905bda6c65263dd67 /src/include | |
parent | 80ff1866489dc3c77e84dc4b8f793067ff586745 (diff) |
getting revocation/payback test with refreshed coins to pass
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 1 | ||||
-rw-r--r-- | src/include/taler_testing_lib.h | 15 |
2 files changed, 8 insertions, 8 deletions
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, + ...); /** |