This commit is contained in:
Marcello Stanisci 2018-12-18 17:05:26 +01:00
parent ce36e23a88
commit e634c877e3
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
3 changed files with 1 additions and 12 deletions

View File

@ -155,7 +155,6 @@ run (void *cls,
* by the exchange. * by the exchange.
*/ */
TALER_TESTING_cmd_wire ("wire-taler-bank-1", TALER_TESTING_cmd_wire ("wire-taler-bank-1",
is->exchange,
"x-taler-bank", "x-taler-bank",
NULL, NULL,
MHD_HTTP_OK), MHD_HTTP_OK),
@ -164,7 +163,6 @@ run (void *cls,
* Check if 'ebics' wire method is offered by the exchange. * Check if 'ebics' wire method is offered by the exchange.
*/ */
TALER_TESTING_cmd_wire ("wire-sepa-1", TALER_TESTING_cmd_wire ("wire-sepa-1",
is->exchange,
"ebics", "ebics",
NULL, NULL,
MHD_HTTP_OK), MHD_HTTP_OK),

View File

@ -67,11 +67,6 @@ struct WireState
* Interpreter state. * Interpreter state.
*/ */
struct TALER_TESTING_Interpreter *is; struct TALER_TESTING_Interpreter *is;
/**
* Connection to the exchange.
*/
struct TALER_EXCHANGE_Handle *exchange;
}; };
@ -171,7 +166,7 @@ wire_run (void *cls,
{ {
struct WireState *ws = cls; struct WireState *ws = cls;
ws->is = is; ws->is = is;
ws->wh = TALER_EXCHANGE_wire (ws->exchange, ws->wh = TALER_EXCHANGE_wire (is->exchange,
&wire_cb, &wire_cb,
ws); ws);
} }
@ -217,7 +212,6 @@ wire_cleanup (void *cls,
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command
TALER_TESTING_cmd_wire (const char *label, TALER_TESTING_cmd_wire (const char *label,
struct TALER_EXCHANGE_Handle *exchange,
const char *expected_method, const char *expected_method,
const char *expected_fee, const char *expected_fee,
unsigned int expected_response_code) unsigned int expected_response_code)
@ -226,7 +220,6 @@ TALER_TESTING_cmd_wire (const char *label,
struct WireState *ws; struct WireState *ws;
ws = GNUNET_new (struct WireState); ws = GNUNET_new (struct WireState);
ws->exchange = exchange;
ws->expected_method = expected_method; ws->expected_method = expected_method;
ws->expected_fee = expected_fee; ws->expected_fee = expected_fee;
ws->expected_response_code = expected_response_code; ws->expected_response_code = expected_response_code;

View File

@ -977,7 +977,6 @@ TALER_TESTING_cmd_withdraw_with_retry (struct TALER_TESTING_Command cmd);
* Create a "wire" command. * Create a "wire" command.
* *
* @param label the command label. * @param label the command label.
* @param exchange the exchange to connect to.
* @param expected_method which wire-transfer method is expected * @param expected_method which wire-transfer method is expected
* to be offered by the exchange. * to be offered by the exchange.
* @param expected_fee the fee the exchange should charge. * @param expected_fee the fee the exchange should charge.
@ -988,7 +987,6 @@ TALER_TESTING_cmd_withdraw_with_retry (struct TALER_TESTING_Command cmd);
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command
TALER_TESTING_cmd_wire (const char *label, TALER_TESTING_cmd_wire (const char *label,
struct TALER_EXCHANGE_Handle *exchange,
const char *expected_method, const char *expected_method,
const char *expected_fee, const char *expected_fee,
unsigned int expected_response_code); unsigned int expected_response_code);