summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-16 13:38:55 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-16 13:38:55 +0100
commit33d4369dcf89e8868177e38e1a485002ce975005 (patch)
tree62bcd4d936cea99b97e7dfbc4943249161bfc2b2
parentbc79ce6f89103a518e8453dd9b5f2e1b6d5d1ecf (diff)
downloadmerchant-33d4369dcf89e8868177e38e1a485002ce975005.tar.gz
merchant-33d4369dcf89e8868177e38e1a485002ce975005.tar.bz2
merchant-33d4369dcf89e8868177e38e1a485002ce975005.zip
-more work on KYC test
-rw-r--r--src/include/taler_merchant_testing_lib.h12
-rw-r--r--src/testing/test_merchant_api.c12
-rw-r--r--src/testing/testing_api_cmd_kyc_get.c12
3 files changed, 22 insertions, 14 deletions
diff --git a/src/include/taler_merchant_testing_lib.h b/src/include/taler_merchant_testing_lib.h
index cb92d0f3..38149d25 100644
--- a/src/include/taler_merchant_testing_lib.h
+++ b/src/include/taler_merchant_testing_lib.h
@@ -1481,12 +1481,12 @@ TALER_TESTING_cmd_tip_pickup (const char *label,
* @return the command
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_kyc_get (const char *label,
- const char *merchant_url,
- const char *instance_id,
- const char *h_wire_ref,
- const char *exchange_url,
- unsigned int expected_http_status);
+TALER_TESTING_cmd_merchant_kyc_get (const char *label,
+ const char *merchant_url,
+ const char *instance_id,
+ const char *h_wire_ref,
+ const char *exchange_url,
+ unsigned int expected_http_status);
/* ****** Specific traits supported by this component ******* */
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index c5f8702e..93c3af55 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -206,6 +206,14 @@ run (void *cls,
PAYTO_I1,
"EUR",
MHD_HTTP_NO_CONTENT),
+#if FIXME
+ TALER_TESTING_cmd_merchant_kyc_get ("instance-create-kyc-0",
+ merchant_url,
+ NULL,
+ NULL,
+ EXCHANGE_URL,
+ MHD_HTTP_OK),
+#endif
TALER_TESTING_cmd_merchant_post_orders_no_claim ("create-proposal-4",
merchant_url,
MHD_HTTP_OK,
@@ -668,7 +676,7 @@ run (void *cls,
"EUR:10.02"),
/**
* Make a reserve exist, according to the previous transfer.
- *///
+ */
cmd_exec_wirewatch ("wirewatch-1r"),
TALER_TESTING_cmd_check_bank_admin_transfer ("check_bank_transfer-2r",
"EUR:10.02",
@@ -820,7 +828,7 @@ run (void *cls,
it, and finally (4) attempt to pick up a refund
from it without any increasing taking place
in the first place.
- *///
+ */
cmd_transfer_to_exchange ("create-reserve-unincreased-refund",
"EUR:5.01"),
cmd_exec_wirewatch ("wirewatch-unincreased-refund"),
diff --git a/src/testing/testing_api_cmd_kyc_get.c b/src/testing/testing_api_cmd_kyc_get.c
index de4e4689..32378177 100644
--- a/src/testing/testing_api_cmd_kyc_get.c
+++ b/src/testing/testing_api_cmd_kyc_get.c
@@ -178,12 +178,12 @@ kyc_get_run (void *cls,
struct TALER_TESTING_Command
-TALER_TESTING_cmd_kyc_get (const char *label,
- const char *merchant_url,
- const char *instance_id,
- const char *h_wire_ref,
- const char *exchange_url,
- unsigned int expected_http_status)
+TALER_TESTING_cmd_merchant_kyc_get (const char *label,
+ const char *merchant_url,
+ const char *instance_id,
+ const char *h_wire_ref,
+ const char *exchange_url,
+ unsigned int expected_http_status)
{
struct KycGetState *cs;