diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-18 10:50:27 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-18 10:50:27 +0200 |
commit | 8ad907782db1f2168776d5fa15c34b6462ab51e8 (patch) | |
tree | 5be9a14cb9d1af8f9fafcdddfab32e5e66afff8d /src/exchange-lib | |
parent | 39a9045319e2a7b4ffaa7cb00821116291ad89bb (diff) |
Withdraw after payback.
This triggers the TALER_EXCHANGEDB_RO_PAYBACK_COIN
case within the withdraw_transaction() handler.
Diffstat (limited to 'src/exchange-lib')
-rw-r--r-- | src/exchange-lib/test_exchange_api_new.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/exchange-lib/test_exchange_api_new.c b/src/exchange-lib/test_exchange_api_new.c index c5e62a0e5..1bbad6668 100644 --- a/src/exchange-lib/test_exchange_api_new.c +++ b/src/exchange-lib/test_exchange_api_new.c @@ -625,6 +625,13 @@ run (void *cls, "EUR:5.0", MHD_HTTP_OK), + /* Re-withdraw from this reserve */ + TALER_TESTING_cmd_withdraw_amount ("payback-withdraw-coin-2", + is->exchange, + "payback-create-reserve-1", + "EUR:1", + MHD_HTTP_OK), + /** * Fill reserve with EUR:2.02, as withdraw fee is 1 ct per * config, then withdraw two coin, partially spend one, and |