summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_deposit.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-02-22 14:27:15 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2022-02-22 14:34:47 +0100
commit26158fc72505be6323282dc39509fd531c10a290 (patch)
tree117e5b7a580c056717a0303fc9f82c391207ff67 /src/testing/testing_api_cmd_deposit.c
parent0141a8216162a33b4656f95a2d5305843ca4aeba (diff)
downloadexchange-26158fc72505be6323282dc39509fd531c10a290.tar.gz
exchange-26158fc72505be6323282dc39509fd531c10a290.tar.bz2
exchange-26158fc72505be6323282dc39509fd531c10a290.zip
[age restriction] progress 16/n - refresh/reveal/link tests
Age restriction works now with withdraw, melt/refresh/reveal and link, including tests. However, there is still a problem with the tests: The melting operation "refresh-melt-failing-age" that should fail (because of conflict), but currently fails for other reasons. I decided to disable that particular test (and the next) and submit the patch I have so far.
Diffstat (limited to 'src/testing/testing_api_cmd_deposit.c')
-rw-r--r--src/testing/testing_api_cmd_deposit.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/testing/testing_api_cmd_deposit.c b/src/testing/testing_api_cmd_deposit.c
index a241c531b..ad1315b28 100644
--- a/src/testing/testing_api_cmd_deposit.c
+++ b/src/testing/testing_api_cmd_deposit.c
@@ -568,23 +568,23 @@ deposit_traits (void *cls,
struct TALER_TESTING_Trait traits[] = {
/* First two traits are only available if
ds->traits is #GNUNET_YES */
- TALER_TESTING_make_trait_exchange_pub (0, &ds->exchange_pub),
- TALER_TESTING_make_trait_exchange_sig (0, &ds->exchange_sig),
+ TALER_TESTING_make_trait_exchange_pub (index, &ds->exchange_pub),
+ TALER_TESTING_make_trait_exchange_sig (index, &ds->exchange_sig),
/* These traits are always available */
- TALER_TESTING_make_trait_coin_priv (0,
+ TALER_TESTING_make_trait_coin_priv (index,
coin_spent_priv),
- TALER_TESTING_make_trait_age_commitment (0,
+ TALER_TESTING_make_trait_age_commitment (index,
age_commitment),
TALER_TESTING_make_trait_wire_details (ds->wire_details),
TALER_TESTING_make_trait_contract_terms (ds->contract_terms),
TALER_TESTING_make_trait_merchant_priv (&ds->merchant_priv),
TALER_TESTING_make_trait_deposit_amount (&ds->amount),
TALER_TESTING_make_trait_deposit_fee_amount (&ds->deposit_fee),
- TALER_TESTING_make_trait_timestamp (0,
+ TALER_TESTING_make_trait_timestamp (index,
&ds->exchange_timestamp),
- TALER_TESTING_make_trait_wire_deadline (0,
+ TALER_TESTING_make_trait_wire_deadline (index,
&ds->wire_deadline),
- TALER_TESTING_make_trait_refund_deadline (0,
+ TALER_TESTING_make_trait_refund_deadline (index,
&ds->refund_deadline),
TALER_TESTING_trait_end ()
};