diff options
Diffstat (limited to 'src/lib/test_merchant_api_new.c')
-rw-r--r-- | src/lib/test_merchant_api_new.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/test_merchant_api_new.c b/src/lib/test_merchant_api_new.c index 2b34c546..9ca5b04f 100644 --- a/src/lib/test_merchant_api_new.c +++ b/src/lib/test_merchant_api_new.c @@ -464,7 +464,32 @@ run (void *cls, "1"), /* Test tipping. */ + TALER_TESTING_cmd_fakebank_transfer_with_instance + ("create-reserve-tip-1", + "EUR:20.04", + fakebank_url, + USER_ACCOUNT_NO, + EXCHANGE_ACCOUNT_NO, + USER_LOGIN_NAME, + USER_LOGIN_PASS, + "tip", + EXCHANGE_URL, + CONFIG_FILE), + + CMD_EXEC_WIREWATCH ("wirewatch-11"), + + TALER_TESTING_cmd_tip_authorize ("authorize-tip-1", + merchant_url, + exchange_url, + is->ctx, + MHD_HTTP_OK, + "tip", + "tip 1", + "EUR:5.01"), + /* Will fail here until all new + * transfers have not been checked. I.e., + * there is now a 20.04 euro "pending" transfer. */ /* pay again logic. */ TALER_TESTING_cmd_fakebank_transfer |