aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-10-01 22:51:25 +0200
committerChristian Grothoff <christian@grothoff.org>2024-10-01 22:51:25 +0200
commit8e24eb9fbdd92846382b218ba048999f38c9a866 (patch)
treeef789f262e2c3fcb11519c8e60286c5bde9912df /src
parentee1a347e15fc1d634ebaa7f79b9f773f3c1e3517 (diff)
downloadexchange-8e24eb9fbdd92846382b218ba048999f38c9a866.tar.xz
adapt tests to do kycauth wire transfers that are now neededHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/testing/test_kyc_api.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/testing/test_kyc_api.c b/src/testing/test_kyc_api.c
index 617f2ed2d..f79da7f0e 100644
--- a/src/testing/test_kyc_api.c
+++ b/src/testing/test_kyc_api.c
@@ -187,6 +187,31 @@ run (void *cls,
TALER_TESTING_cmd_end ()
};
struct TALER_TESTING_Command spend[] = {
+ TALER_TESTING_cmd_set_var (
+ "account-priv",
+ TALER_TESTING_cmd_deposit (
+ "deposit-simple-fail-kyc",
+ "withdraw-coin-1",
+ 0,
+ cred.user43_payto,
+ "{\"items\":[{\"name\":\"ice cream\",\"value\":1}]}",
+ GNUNET_TIME_UNIT_ZERO,
+ "EUR:5",
+ MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS)),
+ TALER_TESTING_cmd_admin_add_kycauth (
+ "kyc-auth-transfer",
+ "EUR:0.01",
+ &cred.ba,
+ cred.user42_payto,
+ "deposit-simple-fail-kyc"),
+ TALER_TESTING_cmd_admin_add_kycauth (
+ "kyc-auth-transfer",
+ "EUR:0.01",
+ &cred.ba,
+ cred.user43_payto,
+ "deposit-simple-fail-kyc"),
+ CMD_EXEC_WIREWATCH (
+ "import-kyc-account"),
TALER_TESTING_cmd_deposit (
"deposit-simple",
"withdraw-coin-1",