diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-28 22:55:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-28 22:55:48 +0100 |
commit | 5533bcbf651eafce682212ce635bdf8ce83d4bcb (patch) | |
tree | 44e61afb3232d58a2affbcfc7a776a066fcb43c9 /src/include | |
parent | f662313f7932818a88f0766c783b9c407a8b6c61 (diff) | |
download | exchange-5533bcbf651eafce682212ce635bdf8ce83d4bcb.tar.xz |
add purse delete testing CMD
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index aa475bd33..55d36b2de 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -2568,6 +2568,21 @@ TALER_TESTING_cmd_purse_create_with_deposit ( /** + * Deletes a purse. + * + * @param label command label + * @param expected_http_status what HTTP status do we expect to get returned from the exchange + * @param purse_cmd command that created the purse + * @return the command + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_purse_delete ( + const char *label, + unsigned int expected_http_status, + const char *purse_cmd); + + +/** * Retrieve contract (also checks that the contract matches * the upload command). * |