idempotency test

This commit is contained in:
Christian Grothoff 2023-02-19 21:51:39 +01:00
parent 13d90bb1a3
commit 185391f3fc
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -250,14 +250,6 @@ run (void *cls,
"withdraw-coin-1", "withdraw-coin-1",
"EUR:1.01", "EUR:1.01",
NULL), 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 ( TALER_TESTING_cmd_purse_poll_finish (
"pull-deposit-purse-poll-finish", "pull-deposit-purse-poll-finish",
GNUNET_TIME_relative_multiply ( GNUNET_TIME_relative_multiply (
@ -274,6 +266,14 @@ run (void *cls,
"create-reserve-1", "create-reserve-1",
"EUR:2.01", "EUR:2.01",
MHD_HTTP_OK), 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 */ /* create 2nd purse for a deposit conflict */
TALER_TESTING_cmd_purse_create_with_reserve ( TALER_TESTING_cmd_purse_create_with_reserve (
"purse-create-with-reserve-2", "purse-create-with-reserve-2",