aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/test_merchantdb.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-09-08 23:39:50 +0200
committerChristian Grothoff <christian@grothoff.org>2024-09-08 23:39:50 +0200
commitfd6e459cc7fcad3703c993e812f25a09e1ca9d36 (patch)
tree821fefcf4b7cff609c4f4df2ab33b9acd9c396e7 /src/backenddb/test_merchantdb.c
parentaa29da994abd4b4dcb0648e67484589db7351ae9 (diff)
towards new /kyc API: test_kyc_api still fails, but getting close
Diffstat (limited to 'src/backenddb/test_merchantdb.c')
-rw-r--r--src/backenddb/test_merchantdb.c38
1 files changed, 24 insertions, 14 deletions
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c
index 392511e1..f1d6e392 100644
--- a/src/backenddb/test_merchantdb.c
+++ b/src/backenddb/test_merchantdb.c
@@ -5570,13 +5570,18 @@ test_lookup_orders_all_filters (void)
static void
-kyc_status_ok (void *cls,
- const struct TALER_MerchantWireHashP *h_wire,
- uint64_t exchange_kyc_serial,
- const char *payto_uri,
- const char *exchange_url,
- struct GNUNET_TIME_Timestamp last_check,
- bool kyc_ok)
+kyc_status_ok (
+ void *cls,
+ const struct TALER_MerchantWireHashP *h_wire,
+ const char *payto_uri,
+ const char *exchange_url,
+ struct GNUNET_TIME_Timestamp last_check,
+ bool kyc_ok,
+ const struct TALER_AccountAccessTokenP *access_token,
+ unsigned int last_http_status,
+ enum TALER_ErrorCode last_ec,
+ bool in_aml_review,
+ const json_t *jlimits)
{
bool *fail = cls;
@@ -5586,13 +5591,18 @@ kyc_status_ok (void *cls,
static void
-kyc_status_fail (void *cls,
- const struct TALER_MerchantWireHashP *h_wire,
- uint64_t exchange_kyc_serial,
- const char *payto_uri,
- const char *exchange_url,
- struct GNUNET_TIME_Timestamp last_check,
- bool kyc_ok)
+kyc_status_fail (
+ void *cls,
+ const struct TALER_MerchantWireHashP *h_wire,
+ const char *payto_uri,
+ const char *exchange_url,
+ struct GNUNET_TIME_Timestamp last_check,
+ bool kyc_ok,
+ const struct TALER_AccountAccessTokenP *access_token,
+ unsigned int last_http_status,
+ enum TALER_ErrorCode last_ec,
+ bool in_aml_review,
+ const json_t *jlimits)
{
bool *fail = cls;