diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-21 12:24:15 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-21 12:24:15 +0200 |
commit | 1a62744325edc68e106b806ede0ac418d880ca4f (patch) | |
tree | bf195b7d51ba7d6fd37f9f148376336bfc92ea72 | |
parent | d1a98628b2014a3faffd39467a51803b5c4deb36 (diff) |
-fix testcase
-rw-r--r-- | src/testing/test_kyc_api.c | 2 | ||||
-rw-r--r-- | src/testing/test_kyc_api.conf | 39 |
2 files changed, 13 insertions, 28 deletions
diff --git a/src/testing/test_kyc_api.c b/src/testing/test_kyc_api.c index cde93368..e18c44f8 100644 --- a/src/testing/test_kyc_api.c +++ b/src/testing/test_kyc_api.c @@ -228,7 +228,7 @@ run (void *cls, NULL, NULL, EXCHANGE_URL, - MHD_HTTP_SERVICE_UNAVAILABLE), + MHD_HTTP_NO_CONTENT), /* now we get the legi UUID */ TALER_TESTING_cmd_merchant_get_order ("get-order-kyc", merchant_url, diff --git a/src/testing/test_kyc_api.conf b/src/testing/test_kyc_api.conf index 126762d8..95872edc 100644 --- a/src/testing/test_kyc_api.conf +++ b/src/testing/test_kyc_api.conf @@ -62,6 +62,9 @@ CURRENCY = EUR [auditor] BASE_URL = http://the.auditor/ +[auditordb-postgres] +CONFIG = postgres:///talercheck + ####################################################### # Configuration for ??? Is this used? @@ -102,27 +105,6 @@ MASTER_PUBLIC_KEY = T1VVFQZZARQ1CMF4BN58EE7SKTW5AV2BS18S87ZEGYS4S29J6DNG # Base URL of the exchange. BASE_URL = "http://localhost:8081/" - -# OLD style KYC: -KYC_MODE = OAUTH2 - -KYC_WALLET_BALANCE_LIMIT = EUR:1 - -KYC_WITHDRAW_PERIOD = "31 days" - -KYC_WITHDRAW_LIMIT = EUR:20 - -[exchange-kyc-oauth2] - -KYC_OAUTH2_AUTH_URL = http://localhost:6666/oauth/v2/token -KYC_OAUTH2_LOGIN_URL = http://localhost:6666/oauth/v2/login -KYC_INFO_URL = http://localhost:6666/api/user/me -KYC_OAUTH2_CLIENT_ID = taler-exchange -KYC_OAUTH2_CLIENT_SECRET = exchange-secret -KYC_OAUTH2_POST_URL = http://example.com/ - -# end old-style KYC - [kyc-provider-test-oauth2] COST = 0 LOGIC = oauth2 @@ -142,17 +124,20 @@ REQUIRED_CHECKS = DUMMY THRESHOLD = EUR:0 TIMEFRAME = 1d +[kyc-legitimization-withdraw] +OPERATION_TYPE = WITHDRAW +REQUIRED_CHECKS = DUMMY +THRESHOLD = EUR:20 +TIMEFRAME = 30d - +[kyc-legitimization-balance-high] +OPERATION_TYPE = BALANCE +REQUIRED_CHECKS = DUMMY +THRESHOLD = EUR:1 [exchangedb-postgres] CONFIG = "postgres:///talercheck" - -[auditordb-postgres] -CONFIG = postgres:///talercheck - - # Account of the EXCHANGE [exchange-account-exchange] # What is the exchange's bank account (with the "Taler Bank" demo system)? |