diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-05-20 12:31:27 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-05-20 12:31:27 +0200 |
commit | 4741f4ea02148ed1dede88affd83edd9a96e2680 (patch) | |
tree | bde9d1f98715cbd73ce4394545abd6e0252b6180 /src/testing/test_exchange_api.c | |
parent | 259a180bb68bbc084cdb2f89887ecd165960f1f5 (diff) | |
download | exchange-4741f4ea02148ed1dede88affd83edd9a96e2680.tar.xz |
implement duplicate reserve_pub detection in fakebank, add test (fails in pybank), for #6863
Diffstat (limited to 'src/testing/test_exchange_api.c')
-rw-r--r-- | src/testing/test_exchange_api.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c index 18f7237b6..008eefb20 100644 --- a/src/testing/test_exchange_api.c +++ b/src/testing/test_exchange_api.c @@ -121,9 +121,9 @@ run (void *cls, * Move money to the exchange's bank account. */ CMD_TRANSFER_TO_EXCHANGE ("create-reserve-1", - "EUR:4.01"), + "EUR:6.02"), TALER_TESTING_cmd_check_bank_admin_transfer ("check-create-reserve-1", - "EUR:4.01", + "EUR:6.02", bc.user42_payto, bc.exchange_payto, "create-reserve-1"), @@ -133,20 +133,6 @@ 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:2.01", - &bc.exchange_auth, - bc.user42_payto, - "create-reserve-1"), - TALER_TESTING_cmd_check_bank_admin_transfer ("check-create-reserve-1.2", - "EUR:2.01", - 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", |