diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-19 21:51:39 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-19 21:51:39 +0100 |
commit | 185391f3fca2c09fb2280a6b55dc3962ac6e921b (patch) | |
tree | 9e06fd1932a2f22d8f72ff1048faef3b998202b8 | |
parent | 13d90bb1a3962272d82da47aa5e193103a2014ae (diff) |
idempotency test
-rw-r--r-- | src/testing/test_exchange_p2p.c | 16 |
1 files 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", |