diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-29 00:34:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-29 00:34:36 +0100 |
commit | 5df74558de6e725841c2f5a2ea6f90d0af264c89 (patch) | |
tree | 10d88f1e38abc7281d9c9f8141fe646e0374e691 /src/testing/test_exchange_p2p.c | |
parent | 880c14909bfdaf1199ffc5da989eccb52f6cac12 (diff) | |
download | exchange-5df74558de6e725841c2f5a2ea6f90d0af264c89.tar.xz |
misc purse deletion fixes
Diffstat (limited to 'src/testing/test_exchange_p2p.c')
-rw-r--r-- | src/testing/test_exchange_p2p.c | 13 |
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\"}", |