From 5533bcbf651eafce682212ce635bdf8ce83d4bcb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 28 Dec 2022 22:55:48 +0100 Subject: add purse delete testing CMD --- src/include/taler_testing_lib.h | 15 +++++++++++++++ 1 file changed, 15 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 aa475bd33..55d36b2de 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -2567,6 +2567,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). -- cgit v1.2.3