diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-19 21:46:15 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-19 21:46:15 +0100 |
commit | 13d90bb1a3962272d82da47aa5e193103a2014ae (patch) | |
tree | 51d90336e0b750a8fdc3c5bc135f7ed746e62b4c /src/testing | |
parent | e2fe36a0be198bc2e674368b1d32fc8891494a3b (diff) | |
download | exchange-13d90bb1a3962272d82da47aa5e193103a2014ae.tar.xz |
on idempotent deposit, just skip most of the transaction
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_exchange_p2p.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/testing/test_exchange_p2p.c b/src/testing/test_exchange_p2p.c index 6eea4a0bf..329ed2693 100644 --- a/src/testing/test_exchange_p2p.c +++ b/src/testing/test_exchange_p2p.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2014--2022 Taler Systems SA + Copyright (C) 2014--2023 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -250,6 +250,14 @@ run (void *cls, "withdraw-coin-1", "EUR:1.01", NULL), + TALER_TESTING_cmd_purse_deposit_coins ( + "purse-deposit-coins-idempotent-but-gone", + MHD_HTTP_GONE, + 0 /* min age */, + "purse-create-with-reserve", + "withdraw-coin-1", + "EUR:1.01", + NULL), TALER_TESTING_cmd_purse_poll_finish ( "pull-deposit-purse-poll-finish", GNUNET_TIME_relative_multiply ( |