diff options
Diffstat (limited to 'src/testing/test_merchant_api.c')
-rw-r--r-- | src/testing/test_merchant_api.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c index c2ed9535..fb230f04 100644 --- a/src/testing/test_merchant_api.c +++ b/src/testing/test_merchant_api.c @@ -642,12 +642,24 @@ run (void *cls, EXCHANGE_URL, "x-taler-bank", MHD_HTTP_OK), + TALER_TESTING_cmd_admin_add_incoming_with_ref ("create-reserve-tip-1-exch", + "EUR:20.04", + &bc.exchange_auth, + payer_payto, + "create-reserve-tip-1"), + cmd_exec_wirewatch ("wirewatch-3"), TALER_TESTING_cmd_tip_authorize ("authorize-tip-1", merchant_url, EXCHANGE_URL, MHD_HTTP_OK, "tip 1", "EUR:5.01"), + TALER_TESTING_cmd_tip_authorize ("authorize-tip-2", + merchant_url, + EXCHANGE_URL, + MHD_HTTP_OK, + "tip 2", + "EUR:5.01"), TALER_TESTING_cmd_get_tips ("get-tips-1", merchant_url, MHD_HTTP_OK), @@ -658,7 +670,11 @@ run (void *cls, merchant_url, MHD_HTTP_OK, "create-reserve-tip-1"), - + TALER_TESTING_cmd_tip_pickup ("pickup-tip-1", + merchant_url, + MHD_HTTP_OK, + "authorize-tip-1", + pickup_amounts_1), TALER_TESTING_cmd_merchant_delete_reserve ("delete-reserve-tip-1", merchant_url, "create-reserve-tip-1", |