summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-28 22:55:48 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-28 22:55:48 +0100
commit5533bcbf651eafce682212ce635bdf8ce83d4bcb (patch)
tree44e61afb3232d58a2affbcfc7a776a066fcb43c9 /src/include/taler_testing_lib.h
parentf662313f7932818a88f0766c783b9c407a8b6c61 (diff)
downloadexchange-5533bcbf651eafce682212ce635bdf8ce83d4bcb.tar.gz
exchange-5533bcbf651eafce682212ce635bdf8ce83d4bcb.tar.bz2
exchange-5533bcbf651eafce682212ce635bdf8ce83d4bcb.zip
add purse delete testing CMD
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r--src/include/taler_testing_lib.h15
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).
*