From 08824870e6cb6b91bf43936357361d82f8017dc6 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 14 May 2018 14:50:27 +0200 Subject: Triggering doubled /refresh/melt, plus prepare ground for twisting the /refresh/reveal --- src/include/taler_testing_lib.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/include/taler_testing_lib.h') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index dce92cea..910495e4 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -660,6 +660,26 @@ TALER_TESTING_cmd_refresh_melt const char *coin_reference, unsigned int expected_response_code); +/** + * Create a "refresh melt" command, that does TWO /refresh/melt + * requests. + * + * @param label command label + * @param exchange connection to the exchange + * @param amount Fixme + * @param coin_reference reference to a command that will provide + * a coin to refresh + * @param expected_response_code expected HTTP code + */ + +struct TALER_TESTING_Command +TALER_TESTING_cmd_refresh_melt_double + (const char *label, + struct TALER_EXCHANGE_Handle *exchange, + const char *amount, + const char *coin_reference, + unsigned int expected_response_code); + /** * Create a "refresh reveal" command. -- cgit v1.2.3