exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 69e50079b4412624a78002853535a6e7a306cc29
parent 373a5f96a7d2def03e11ef9a2055893e807ce9ab
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 27 Mar 2020 13:53:31 +0100

Merge branch 'master' of git+ssh://git.taler.net/exchange

Diffstat:
Msrc/testing/test_exchange_api.c | 18++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c @@ -122,9 +122,9 @@ run (void *cls, * Move money to the exchange's bank account. */ CMD_TRANSFER_TO_EXCHANGE ("create-reserve-1", - "EUR:5.01"), + "EUR:4.01"), TALER_TESTING_cmd_check_bank_admin_transfer ("check-create-reserve-1", - "EUR:5.01", + "EUR:4.01", bc.user42_payto, bc.exchange_payto, "create-reserve-1"), @@ -134,6 +134,20 @@ run (void *cls, */ CMD_EXEC_WIREWATCH ("wirewatch-1"), /** + * Do another transfer to the same reserve + */ + TALER_TESTING_cmd_admin_add_incoming_with_ref ("create-reserve-1.2", + "EUR:1", + &bc.exchange_auth, + bc.user42_payto, + "create-reserve-1"), + TALER_TESTING_cmd_check_bank_admin_transfer ("check-create-reserve-1.2", + "EUR:1", + bc.user42_payto, + bc.exchange_payto, + "create-reserve-1.2"), + CMD_EXEC_WIREWATCH ("wirewatch-1.2"), + /** * Withdraw EUR:5. */ TALER_TESTING_cmd_withdraw_amount ("withdraw-coin-1",