summaryrefslogtreecommitdiff
path: root/src/testing/test_exchange_api_twisted.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-02-17 12:23:06 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2022-02-18 00:30:19 +0100
commita78b3345fbf017b1cddfd09afb4b2c29287b0bba (patch)
tree45752022adc8b1661fb1662df40af4d58ab7d5f4 /src/testing/test_exchange_api_twisted.c
parent8bdf6ab19df70c16d335ecf82f2c3b2117eeb70e (diff)
downloadexchange-a78b3345fbf017b1cddfd09afb4b2c29287b0bba.tar.gz
exchange-a78b3345fbf017b1cddfd09afb4b2c29287b0bba.tar.bz2
exchange-a78b3345fbf017b1cddfd09afb4b2c29287b0bba.zip
[age restriction] progress 15/n - melt/refresh/reveal and recoup
Added age restriction support for - melt/refresh/reveal - recoup However, tests are not yet implemented for those flows. Also: minor fixes and refactoring.
Diffstat (limited to 'src/testing/test_exchange_api_twisted.c')
-rw-r--r--src/testing/test_exchange_api_twisted.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testing/test_exchange_api_twisted.c b/src/testing/test_exchange_api_twisted.c
index 33631764c..f8cfa64b7 100644
--- a/src/testing/test_exchange_api_twisted.c
+++ b/src/testing/test_exchange_api_twisted.c
@@ -124,6 +124,7 @@ run (void *cls,
TALER_TESTING_cmd_withdraw_amount ("refresh-withdraw-coin",
"refresh-create-reserve",
"EUR:5",
+ 0, /* age restriction off */
MHD_HTTP_OK),
TALER_TESTING_cmd_deposit ("refresh-deposit-partial",
"refresh-withdraw-coin",
@@ -164,6 +165,7 @@ run (void *cls,
TALER_TESTING_cmd_withdraw_amount ("withdraw-coin-r1",
"create-reserve-r1",
"EUR:5",
+ 0, /* age restriction off */
MHD_HTTP_OK),
TALER_TESTING_cmd_deposit ("deposit-refund-1",
"withdraw-coin-r1",
@@ -233,6 +235,7 @@ run (void *cls,
TALER_TESTING_cmd_withdraw_amount ("withdraw-coin-r2",
"create-reserve-r2",
"EUR:5",
+ 0, /* age restriction off */
MHD_HTTP_OK),
TALER_TESTING_cmd_end ()
};