aboutsummaryrefslogtreecommitdiff
path: root/src/include/donau_testing_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/donau_testing_lib.h')
-rw-r--r--src/include/donau_testing_lib.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/include/donau_testing_lib.h b/src/include/donau_testing_lib.h
index 2a64ed4..1e2bd17 100644
--- a/src/include/donau_testing_lib.h
+++ b/src/include/donau_testing_lib.h
@@ -118,7 +118,8 @@ TALER_TESTING_cmd_charities_get (const char *label,
* @param label the command label.
* @param charity_reference reference for traits
* @param year current year (mostly)
- * @param num_bkps number of budi key pairs
+ * @param donor_tax_id tax id of the donor
+ * @param salt for tax id hash
* @param expected_response_code expected HTTP response code.
* @return the command.
*/
@@ -126,7 +127,8 @@ struct TALER_TESTING_Command
TALER_TESTING_cmd_issue_receipts (const char *label,
const char *charity_reference,
const uint64_t year,
- const size_t num_bkp,
+ const char *donor_tax_id,
+ const char *salt,
unsigned int expected_response_code);
@@ -134,17 +136,15 @@ TALER_TESTING_cmd_issue_receipts (const char *label,
* Create a POST "batch-issue" command.
*
* @param label the command label.
+ * @param issue_receipt_reference reference for traits
* @param year current or past year (mostly)
- * @param donor_tax_id current year (mostly)
- * @param salt current year (mostly)
* @param expected_response_code expected HTTP response code.
* @return the command.
*/
struct TALER_TESTING_Command
TALER_TESTING_cmd_submit_receipts (const char *label,
+ const char *issue_receipt_reference,
const uint64_t year,
- const char *donor_tax_id,
- const char *salt,
unsigned int expected_response_code);
@@ -190,7 +190,8 @@ TALER_TESTING_get_donau_url (
op (charity_pub, const struct DONAU_CharityPublicKeyP) \
op (charity_id, const unsigned long long) \
op (donau_url, const char) \
- op (donau_keys, struct DONAU_Keys)
+ op (donau_keys, struct DONAU_Keys) \
+ op (salted_tax_id_hash, struct DONAU_HashDonorTaxId)
/**