aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_exchange_api_age_restriction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_exchange_api_age_restriction.c')
-rw-r--r--src/testing/test_exchange_api_age_restriction.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/testing/test_exchange_api_age_restriction.c b/src/testing/test_exchange_api_age_restriction.c
index 93bd28bf..b3f7357f 100644
--- a/src/testing/test_exchange_api_age_restriction.c
+++ b/src/testing/test_exchange_api_age_restriction.c
@@ -284,6 +284,18 @@ run (void *cls,
"EUR:10",
0, /* age restriction off */
MHD_HTTP_CONFLICT),
+ TALER_TESTING_cmd_age_withdraw ("age-withdraw-coin-1-too-low",
+ "create-reserve-kyc-1",
+ 18, /* Too high */
+ MHD_HTTP_CONFLICT,
+ "EUR:10",
+ NULL),
+ TALER_TESTING_cmd_age_withdraw ("age-withdraw-coin-1",
+ "create-reserve-kyc-1",
+ 8,
+ MHD_HTTP_OK,
+ "EUR:10",
+ NULL),
TALER_TESTING_cmd_end (),
};