exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 185391f3fca2c09fb2280a6b55dc3962ac6e921b
parent 13d90bb1a3962272d82da47aa5e193103a2014ae
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 19 Feb 2023 21:51:39 +0100

idempotency test

Diffstat:
Msrc/testing/test_exchange_p2p.c | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/testing/test_exchange_p2p.c b/src/testing/test_exchange_p2p.c @@ -250,14 +250,6 @@ 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 ( @@ -274,6 +266,14 @@ run (void *cls, "create-reserve-1", "EUR:2.01", MHD_HTTP_OK), + TALER_TESTING_cmd_purse_deposit_coins ( + "purse-deposit-coins-idempotent", + MHD_HTTP_OK, + 0 /* min age */, + "purse-create-with-reserve", + "withdraw-coin-1", + "EUR:1.01", + NULL), /* create 2nd purse for a deposit conflict */ TALER_TESTING_cmd_purse_create_with_reserve ( "purse-create-with-reserve-2",