diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-07 23:07:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-07 23:07:56 +0100 |
commit | 6a611e39d1a87e116859ca0a9e2f836ee3f35726 (patch) | |
tree | aff9a58020c254d5f0e4944b1e023d5d6c3c8959 /src/include/taler_testing_lib.h | |
parent | 6000339fbcc91b2bf3bc4a2ae9b934b6093f7cb6 (diff) | |
download | exchange-6a611e39d1a87e116859ca0a9e2f836ee3f35726.tar.xz |
add /kyc-proof cmd
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 70643ab14..05ace6390 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -2225,6 +2225,24 @@ TALER_TESTING_cmd_check_kyc_get (const char *label, unsigned int expected_response_code); +/** + * Create a KYC proof request. + * + * @param label command label. + * @param payment_target_reference command with a payment target to query + * @param code OAuth 2.0 code to use + * @param state OAuth 2.0 state to use + * @param expected_response_code expected HTTP status + * @return the command + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_proof_kyc (const char *label, + const char *payment_target_reference, + const char *code, + const char *state, + unsigned int expected_response_code); + + /* *** Generic trait logic for implementing traits ********* */ @@ -2396,6 +2414,7 @@ TALER_TESTING_get_trait (const struct TALER_TESTING_Trait *traits, op (taler_uri, const char *) \ op (payto_uri, const char *) \ op (kyc_url, const char *) \ + op (web_url, const char *) \ op (row, const uint64_t) \ op (payment_target_uuid, const uint64_t) \ op (array_length, const unsigned int) \ |