diff options
Diffstat (limited to 'src/testing/test_kyc_api.c')
-rw-r--r-- | src/testing/test_kyc_api.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/testing/test_kyc_api.c b/src/testing/test_kyc_api.c index bacf0586..cde93368 100644 --- a/src/testing/test_kyc_api.c +++ b/src/testing/test_kyc_api.c @@ -222,6 +222,22 @@ run (void *cls, CMD_EXEC_AGGREGATOR ("run-aggregator"), /* KYC: hence nothing happened at the bank yet: */ TALER_TESTING_cmd_check_bank_empty ("check_bank_empty-2"), + /* KYC: we don't even know the legitimization UUID yet */ + TALER_TESTING_cmd_merchant_kyc_get ("kyc-pending", + merchant_url, + NULL, + NULL, + EXCHANGE_URL, + MHD_HTTP_SERVICE_UNAVAILABLE), + /* now we get the legi UUID */ + TALER_TESTING_cmd_merchant_get_order ("get-order-kyc", + merchant_url, + "create-proposal-1", + TALER_MERCHANT_OSC_PAID, + false, + MHD_HTTP_OK, + NULL), + /* Now we should get a status of pending */ TALER_TESTING_cmd_merchant_kyc_get ("kyc-pending", merchant_url, NULL, |