summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-14 19:10:19 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-14 19:10:19 +0200
commit1a3793cb1c5e94d2d900835102ee5929a229986c (patch)
tree12500af1ae43ce2396eb2caa11a9c8c86a87f063 /src/testing
parentf5b99b5282e50bfaf744941d22bb5766cec76cb9 (diff)
downloadexchange-1a3793cb1c5e94d2d900835102ee5929a229986c.tar.gz
exchange-1a3793cb1c5e94d2d900835102ee5929a229986c.tar.bz2
exchange-1a3793cb1c5e94d2d900835102ee5929a229986c.zip
-regenerate DBs
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing_api_cmd_batch_withdraw.c4
-rw-r--r--src/testing/testing_api_cmd_deposits_get.c4
-rw-r--r--src/testing/testing_api_cmd_kyc_check_get.c2
-rw-r--r--src/testing/testing_api_cmd_kyc_wallet_get.c4
-rw-r--r--src/testing/testing_api_cmd_purse_merge.c4
-rw-r--r--src/testing/testing_api_cmd_reserve_purse.c4
-rw-r--r--src/testing/testing_api_cmd_withdraw.c4
7 files changed, 13 insertions, 13 deletions
diff --git a/src/testing/testing_api_cmd_batch_withdraw.c b/src/testing/testing_api_cmd_batch_withdraw.c
index 0cc881155..252fbd7e8 100644
--- a/src/testing/testing_api_cmd_batch_withdraw.c
+++ b/src/testing/testing_api_cmd_batch_withdraw.c
@@ -215,7 +215,7 @@ reserve_batch_withdraw_cb (void *cls,
break;
case MHD_HTTP_ACCEPTED:
/* nothing to check */
- ws->kyc_uuid = wr->details.accepted.payment_target_uuid;
+ ws->kyc_uuid = wr->details.accepted.legitimization_uuid;
break;
case MHD_HTTP_FORBIDDEN:
/* nothing to check */
@@ -417,7 +417,7 @@ batch_withdraw_traits (void *cls,
TALER_TESTING_make_trait_reserve_pub (&ws->reserve_pub),
TALER_TESTING_make_trait_amounts (index,
&cs->amount),
- TALER_TESTING_make_trait_payment_target_uuid (&ws->kyc_uuid),
+ TALER_TESTING_make_trait_legitimization_uuid (&ws->kyc_uuid),
TALER_TESTING_make_trait_payto_uri (
(const char **) &ws->reserve_payto_uri),
TALER_TESTING_make_trait_exchange_url (
diff --git a/src/testing/testing_api_cmd_deposits_get.c b/src/testing/testing_api_cmd_deposits_get.c
index 42dc1cb81..5f1be9bb4 100644
--- a/src/testing/testing_api_cmd_deposits_get.c
+++ b/src/testing/testing_api_cmd_deposits_get.c
@@ -158,7 +158,7 @@ deposit_wtid_cb (void *cls,
break;
case MHD_HTTP_ACCEPTED:
/* allowed, nothing to check here */
- tts->kyc_uuid = dr->details.accepted.payment_target_uuid;
+ tts->kyc_uuid = dr->details.accepted.legitimization_uuid;
break;
case MHD_HTTP_NOT_FOUND:
/* allowed, nothing to check here */
@@ -321,7 +321,7 @@ track_transaction_traits (void *cls,
struct TrackTransactionState *tts = cls;
struct TALER_TESTING_Trait traits[] = {
TALER_TESTING_make_trait_wtid (&tts->wtid),
- TALER_TESTING_make_trait_payment_target_uuid (&tts->kyc_uuid),
+ TALER_TESTING_make_trait_legitimization_uuid (&tts->kyc_uuid),
TALER_TESTING_make_trait_payto_uri (
(const char **) &tts->merchant_payto_uri),
TALER_TESTING_trait_end ()
diff --git a/src/testing/testing_api_cmd_kyc_check_get.c b/src/testing/testing_api_cmd_kyc_check_get.c
index 03b2321d1..bf7159530 100644
--- a/src/testing/testing_api_cmd_kyc_check_get.c
+++ b/src/testing/testing_api_cmd_kyc_check_get.c
@@ -143,7 +143,7 @@ check_kyc_run (void *cls,
return;
}
if (GNUNET_OK !=
- TALER_TESTING_get_trait_payment_target_uuid (res_cmd,
+ TALER_TESTING_get_trait_legitimization_uuid (res_cmd,
&payment_target))
{
GNUNET_break (0);
diff --git a/src/testing/testing_api_cmd_kyc_wallet_get.c b/src/testing/testing_api_cmd_kyc_wallet_get.c
index d86692f80..775aa1a82 100644
--- a/src/testing/testing_api_cmd_kyc_wallet_get.c
+++ b/src/testing/testing_api_cmd_kyc_wallet_get.c
@@ -112,7 +112,7 @@ wallet_kyc_cb (void *cls,
switch (wkr->http_status)
{
case MHD_HTTP_OK:
- kwg->kyc_uuid = wkr->payment_target_uuid;
+ kwg->kyc_uuid = wkr->legitimization_uuid;
break;
case MHD_HTTP_NO_CONTENT:
break;
@@ -232,7 +232,7 @@ wallet_kyc_traits (void *cls,
struct TALER_TESTING_Trait traits[] = {
TALER_TESTING_make_trait_reserve_priv (&kwg->reserve_priv),
TALER_TESTING_make_trait_reserve_pub (&kwg->reserve_pub),
- TALER_TESTING_make_trait_payment_target_uuid (&kwg->kyc_uuid),
+ TALER_TESTING_make_trait_legitimization_uuid (&kwg->kyc_uuid),
TALER_TESTING_make_trait_payto_uri (
(const char **) &kwg->reserve_payto_uri),
TALER_TESTING_trait_end ()
diff --git a/src/testing/testing_api_cmd_purse_merge.c b/src/testing/testing_api_cmd_purse_merge.c
index 11dc2ec81..e40bcedcf 100644
--- a/src/testing/testing_api_cmd_purse_merge.c
+++ b/src/testing/testing_api_cmd_purse_merge.c
@@ -170,7 +170,7 @@ merge_cb (void *cls,
case MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS:
/* KYC required */
ds->kyc_uuid =
- dr->details.unavailable_for_legal_reasons.payment_target_uuid;
+ dr->details.unavailable_for_legal_reasons.legitimization_uuid;
break;
}
@@ -385,7 +385,7 @@ merge_traits (void *cls,
TALER_TESTING_make_trait_reserve_pub (&ds->reserve_pub),
TALER_TESTING_make_trait_timestamp (0,
&ds->merge_timestamp),
- TALER_TESTING_make_trait_payment_target_uuid (&ds->kyc_uuid),
+ TALER_TESTING_make_trait_legitimization_uuid (&ds->kyc_uuid),
TALER_TESTING_make_trait_h_payto (&ds->h_payto),
TALER_TESTING_trait_end ()
};
diff --git a/src/testing/testing_api_cmd_reserve_purse.c b/src/testing/testing_api_cmd_reserve_purse.c
index 0afe26342..cd9ea1ea3 100644
--- a/src/testing/testing_api_cmd_reserve_purse.c
+++ b/src/testing/testing_api_cmd_reserve_purse.c
@@ -166,7 +166,7 @@ purse_cb (void *cls,
case MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS:
/* KYC required */
ds->kyc_uuid =
- dr->details.unavailable_for_legal_reasons.payment_target_uuid;
+ dr->details.unavailable_for_legal_reasons.legitimization_uuid;
break;
}
TALER_TESTING_interpreter_next (ds->is);
@@ -309,7 +309,7 @@ purse_traits (void *cls,
TALER_TESTING_make_trait_reserve_priv (&ds->reserve_priv),
TALER_TESTING_make_trait_reserve_pub (&ds->reserve_pub),
TALER_TESTING_make_trait_reserve_sig (&ds->reserve_sig),
- TALER_TESTING_make_trait_payment_target_uuid (&ds->kyc_uuid),
+ TALER_TESTING_make_trait_legitimization_uuid (&ds->kyc_uuid),
TALER_TESTING_make_trait_h_payto (&ds->h_payto),
TALER_TESTING_trait_end ()
};
diff --git a/src/testing/testing_api_cmd_withdraw.c b/src/testing/testing_api_cmd_withdraw.c
index 877c9ca67..96e703fdf 100644
--- a/src/testing/testing_api_cmd_withdraw.c
+++ b/src/testing/testing_api_cmd_withdraw.c
@@ -319,7 +319,7 @@ reserve_withdraw_cb (void *cls,
case MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS:
/* KYC required */
ws->kyc_uuid =
- wr->details.unavailable_for_legal_reasons.payment_target_uuid;
+ wr->details.unavailable_for_legal_reasons.legitimization_uuid;
break;
default:
/* Unsupported status code (by test harness) */
@@ -538,7 +538,7 @@ withdraw_traits (void *cls,
TALER_TESTING_make_trait_reserve_priv (&ws->reserve_priv),
TALER_TESTING_make_trait_reserve_pub (&ws->reserve_pub),
TALER_TESTING_make_trait_amount (&ws->amount),
- TALER_TESTING_make_trait_payment_target_uuid (&ws->kyc_uuid),
+ TALER_TESTING_make_trait_legitimization_uuid (&ws->kyc_uuid),
TALER_TESTING_make_trait_payto_uri (
(const char **) &ws->reserve_payto_uri),
TALER_TESTING_make_trait_exchange_url (