From 7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 30 May 2022 16:31:24 +0200 Subject: -generate 404 on non-existing accounts for fakebank, use payto://-URIs with receiver-name in tests --- src/testing/testing_api_cmd_batch_withdraw.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/testing/testing_api_cmd_batch_withdraw.c') diff --git a/src/testing/testing_api_cmd_batch_withdraw.c b/src/testing/testing_api_cmd_batch_withdraw.c index 5e480f12b..f135f5def 100644 --- a/src/testing/testing_api_cmd_batch_withdraw.c +++ b/src/testing/testing_api_cmd_batch_withdraw.c @@ -87,8 +87,6 @@ struct CoinState /** * Reserve history entry that corresponds to this coin. * Will be of type #TALER_EXCHANGE_RTT_WITHDRAWAL. - * - * FIXME: how to export one per coin? */ struct TALER_EXCHANGE_ReserveHistoryEntry reserve_history; @@ -401,8 +399,8 @@ batch_withdraw_traits (void *cls, struct CoinState *cs = &ws->coins[index]; struct TALER_TESTING_Trait traits[] = { /* history entry MUST be first due to response code logic below! */ - // FIXME: bug! - TALER_TESTING_make_trait_reserve_history (&cs->reserve_history), + TALER_TESTING_make_trait_reserve_history (index, + &cs->reserve_history), TALER_TESTING_make_trait_coin_priv (index, &cs->coin_priv), TALER_TESTING_make_trait_planchet_secrets (index, -- cgit v1.2.3