From 5bf90c3505130bb92d518e8ae489d55095cb1cf3 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Sun, 23 Jul 2023 21:18:32 +0200 Subject: 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 --- src/testing/test_exchange_api_age_restriction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testing/test_exchange_api_age_restriction.c') 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), -- cgit v1.2.3