diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-14 14:50:27 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-14 22:32:13 +0200 |
commit | 08824870e6cb6b91bf43936357361d82f8017dc6 (patch) | |
tree | ea0b0fe85d31d901456e984f09968216dd988147 /src/include | |
parent | 6a0be254cc7a630da2f508119573338245277e56 (diff) |
Triggering doubled /refresh/melt, plus prepare ground for twisting the /refresh/reveal
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index dce92ceae..910495e4b 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. |