aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_exchange_api_age_restriction.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-07-23 21:18:32 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-07-23 21:18:32 +0200
commit5bf90c3505130bb92d518e8ae489d55095cb1cf3 (patch)
tree27bd1a47fd29043c4472e26505d213dbc103e284 /src/testing/test_exchange_api_age_restriction.c
parente230eaad76f4488dc1b5dbc0aba6ab26b9423e75 (diff)
kyc logic with birthdate setting test added
1. Added age-requirement check in withdraw-handler (like in batch-withdraw) 2. In test_exchange_api_age_restriction: - kyc-oauth2 started, with static birthdate in answers - withdraw triggers kyc - second withdraw fails due to age restriction requirements
Diffstat (limited to 'src/testing/test_exchange_api_age_restriction.c')
-rw-r--r--src/testing/test_exchange_api_age_restriction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/test_exchange_api_age_restriction.c b/src/testing/test_exchange_api_age_restriction.c
index 0aaa7bbf..93bd28bf 100644
--- a/src/testing/test_exchange_api_age_restriction.c
+++ b/src/testing/test_exchange_api_age_restriction.c
@@ -302,7 +302,7 @@ run (void *cls,
true,
true),
TALER_TESTING_cmd_oauth_with_birthdate ("oauth-service-with-birthdate",
- "2022-00-00", /* enough for a while */
+ "2015-00-00", /* enough for a while */
6666),
TALER_TESTING_cmd_batch ("withdraw-age",
withdraw_age),