gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: -fix testcase


From: gnunet
Subject: [taler-merchant] branch master updated: -fix testcase
Date: Sun, 21 Aug 2022 12:24:17 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 1a627443 -fix testcase
1a627443 is described below

commit 1a62744325edc68e106b806ede0ac418d880ca4f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Aug 21 12:24:15 2022 +0200

    -fix testcase
---
 src/testing/test_kyc_api.c    |  2 +-
 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)?

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]