diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-10-06 15:52:04 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-10-06 15:52:04 +0200 |
commit | b1c925047a4c2c5b789af0e5dd660d3eac8249a6 (patch) | |
tree | 43e87665a90484e13cd29c4446457b4560827bf2 /src/include/taler_testing_lib.h | |
parent | 9f7bf2dfe1e247a7c5481536d67db514ade54728 (diff) | |
download | exchange-b1c925047a4c2c5b789af0e5dd660d3eac8249a6.tar.gz exchange-b1c925047a4c2c5b789af0e5dd660d3eac8249a6.tar.bz2 exchange-b1c925047a4c2c5b789af0e5dd660d3eac8249a6.zip |
draft cmd for coin history
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 026798027..4fedb93c7 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1272,7 +1272,7 @@ TALER_TESTING_cmd_reserve_poll_finish (const char *label, /** - * Create a POST "/reserves/$RID/history" command. + * Create a GET "/reserves/$RID/history" command. * * @param label the command label. * @param reserve_reference reference to the reserve to check. @@ -1288,6 +1288,22 @@ TALER_TESTING_cmd_reserve_history (const char *label, /** + * Create a GET "/coins/$COIN_PUB/history" command. + * + * @param label the command label. + * @param coin_reference reference to the coin to check. + * @param expected_balance expected balance for the coin. + * @param expected_response_code expected HTTP response code. + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_coin_history (const char *label, + const char *coin_reference, + const char *expected_balance, + unsigned int expected_response_code); + + +/** * Create a POST "/reserves/$RID/open" command. * * @param label the command label. |