commit a82c5bc795cdfb500bf00cceb6515770df02cb24
parent b6358e5966c1838fed8c44b1440e30b00f285b1a
Author: Özgür Kesim <oec@codeblau.de>
Date: Wed, 7 May 2025 09:39:58 +0200
[testing] added idempotency scenario to withdraw with age-proof-required
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/testing/test_exchange_api_age_restriction.c b/src/testing/test_exchange_api_age_restriction.c
@@ -136,6 +136,16 @@ run (void *cls,
"EUR:5",
13,
MHD_HTTP_OK),
+ /**
+ * Idempotent withdrawal
+ */
+ TALER_TESTING_cmd_withdraw_amount_reuse_key (
+ "withdraw-coin-age-idem-1",
+ "create-reserve-age",
+ "EUR:5",
+ 13,
+ "withdraw-coin-age-1",
+ MHD_HTTP_OK),
TALER_TESTING_cmd_end ()
};