summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-29 00:34:36 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-29 00:34:36 +0100
commit5df74558de6e725841c2f5a2ea6f90d0af264c89 (patch)
tree10d88f1e38abc7281d9c9f8141fe646e0374e691 /src/testing
parent880c14909bfdaf1199ffc5da989eccb52f6cac12 (diff)
downloadexchange-5df74558de6e725841c2f5a2ea6f90d0af264c89.tar.gz
exchange-5df74558de6e725841c2f5a2ea6f90d0af264c89.tar.bz2
exchange-5df74558de6e725841c2f5a2ea6f90d0af264c89.zip
misc purse deletion fixes
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_exchange_p2p.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/testing/test_exchange_p2p.c b/src/testing/test_exchange_p2p.c
index f159b2f1b..ad95bf63c 100644
--- a/src/testing/test_exchange_p2p.c
+++ b/src/testing/test_exchange_p2p.c
@@ -159,6 +159,19 @@ run (void *cls,
};
struct TALER_TESTING_Command push[] = {
TALER_TESTING_cmd_purse_create_with_deposit (
+ "purse-with-deposit-for-delete",
+ MHD_HTTP_OK,
+ "{\"amount\":\"EUR:1\",\"summary\":\"ice cream\"}",
+ true, /* upload contract */
+ GNUNET_TIME_UNIT_MINUTES, /* expiration */
+ "withdraw-coin-1",
+ "EUR:1.01",
+ NULL),
+ TALER_TESTING_cmd_purse_delete (
+ "purse-with-deposit-delete",
+ MHD_HTTP_NO_CONTENT,
+ "purse-with-deposit-for-delete"),
+ TALER_TESTING_cmd_purse_create_with_deposit (
"purse-with-deposit",
MHD_HTTP_OK,
"{\"amount\":\"EUR:1\",\"summary\":\"ice cream\"}",