diff options
Diffstat (limited to 'src/testing/test_merchant_api.c')
-rw-r--r-- | src/testing/test_merchant_api.c | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c index b02d8c8b..ae13da9c 100644 --- a/src/testing/test_merchant_api.c +++ b/src/testing/test_merchant_api.c @@ -433,84 +433,6 @@ run (void *cls, #endif TALER_TESTING_cmd_end () }; - struct TALER_TESTING_Command track[] = { -#if 0 - TALER_TESTING_cmd_merchant_track_transaction ("track-transaction-1", - merchant_url, - MHD_HTTP_OK, - "deposit-simple"), - TALER_TESTING_cmd_merchant_track_transfer ("track-transfer-1", - merchant_url, - MHD_HTTP_OK, - "check_bank_transfer-498c"), - TALER_TESTING_cmd_merchant_track_transfer ("track-transfer-again", - merchant_url, - MHD_HTTP_OK, - "check_bank_transfer-498c"), -#endif - cmd_transfer_to_exchange ("create-reserve-2", - "EUR:1"), - TALER_TESTING_cmd_admin_add_incoming_with_ref ("create-reserve-2b", - "EUR:4.01", - &bc.exchange_auth, - payer_payto, - "create-reserve-2"), - cmd_exec_wirewatch ("wirewatch-2"), - TALER_TESTING_cmd_check_bank_admin_transfer ("check_bank_transfer-2a", - "EUR:1", - payer_payto, - exchange_payto, - "create-reserve-2"), - TALER_TESTING_cmd_check_bank_admin_transfer ("check_bank_transfer-2b", - "EUR:4.01", - payer_payto, - exchange_payto, - "create-reserve-2"), - TALER_TESTING_cmd_withdraw_amount ("withdraw-coin-2", - "create-reserve-2", - "EUR:5", - MHD_HTTP_OK), - TALER_TESTING_cmd_merchant_pay_order ("deposit-simple-2", - merchant_url, - MHD_HTTP_OK, - "create-proposal-2", - "withdraw-coin-2", - "EUR:5", - "EUR:4.99"), - CMD_EXEC_AGGREGATOR ("run-aggregator-2"), - TALER_TESTING_cmd_check_bank_transfer ("check_bank_transfer-498c-2", - EXCHANGE_URL, - "EUR:4.98", - exchange_payto, - merchant_payto), - TALER_TESTING_cmd_check_bank_empty ("check_bank_empty"), -#if 0 - TALER_TESTING_cmd_merchant_track_transfer ("track-transfer-2", - merchant_url, - MHD_HTTP_OK, - "check_bank_transfer-498c-2"), - TALER_TESTING_cmd_merchant_track_transfer ("track-transfer-2-again", - merchant_url, - MHD_HTTP_OK, - "check_bank_transfer-498c-2"), - TALER_TESTING_cmd_merchant_track_transaction ("track-transaction-2", - merchant_url, - MHD_HTTP_OK, - "deposit-simple-2"), - TALER_TESTING_cmd_history ("history-1", - merchant_url, - MHD_HTTP_OK, - GNUNET_TIME_UNIT_ZERO_ABS, - /** - * Now we expect BOTH contracts (create-proposal-{1,2}) - * to be included in /history response, because - * create-proposal-2 has now been correctly paid. - */2, - 10, - -10), -#endif - TALER_TESTING_cmd_end () - }; struct TALER_TESTING_Command refund[] = { cmd_transfer_to_exchange ("create-reserve-1r", @@ -1165,21 +1087,6 @@ run (void *cls, pay), TALER_TESTING_cmd_batch ("double-spending", double_spending), -#if 0 - TALER_TESTING_cmd_batch ("track", - track), - TALER_TESTING_cmd_history ("history-2", - merchant_url, - MHD_HTTP_OK, - GNUNET_TIME_absolute_add ( - GNUNET_TIME_UNIT_ZERO_ABS, - GNUNET_TIME_UNIT_MICROSECONDS), - /* zero results expected, there isn't any row with id - * bigger than 10. */ - 0, - 10, - 10), -#endif TALER_TESTING_cmd_batch ("pay-again", pay_again), TALER_TESTING_cmd_batch ("pay-abort", @@ -1188,14 +1095,6 @@ run (void *cls, refund), TALER_TESTING_cmd_batch ("tip", tip), -#if 0 - TALER_TESTING_cmd_history_default_start ("history-default-start", - merchant_url, - MHD_HTTP_OK, - GNUNET_TIME_UNIT_ZERO_ABS, - 5, /* Expected number of records */ - -100), /* Delta */ -#endif /** * End the suite. Fixme: better to have a label for this * too, as it shows a "(null)" token on logs. |