From 185391f3fca2c09fb2280a6b55dc3962ac6e921b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 19 Feb 2023 21:51:39 +0100 Subject: idempotency test --- src/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 index 329ed2693..6b58dd7eb 100644 --- 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", -- cgit v1.2.3