diff options
Diffstat (limited to 'src/testing/testing_api_cmd_post_transfers.c')
-rw-r--r-- | src/testing/testing_api_cmd_post_transfers.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_post_transfers.c b/src/testing/testing_api_cmd_post_transfers.c index 53d4911d..bb3cd8c7 100644 --- a/src/testing/testing_api_cmd_post_transfers.c +++ b/src/testing/testing_api_cmd_post_transfers.c @@ -80,6 +80,11 @@ struct PostTransfersState struct TALER_Amount credit_amount; /** + * The fee incurred on the wire transfer. + */ + struct TALER_Amount wire_fee; + + /** * Expected HTTP response code. */ unsigned int http_status; @@ -150,6 +155,7 @@ transfers_cb (void *cls, // struct TALER_Amount total; pts->execution_time = execution_time; + pts->wire_fee = *wire_fee; /* if (0 > TALER_amount_subtract (&total, @@ -309,6 +315,7 @@ post_transfers_traits (void *cls, TALER_TESTING_make_trait_wtid (0, &pts->wtid), TALER_TESTING_make_trait_string (0, pts->payto_uri), TALER_TESTING_make_trait_amount_obj (0, &pts->credit_amount), + TALER_TESTING_make_trait_amount_obj (1, &pts->wire_fee), TALER_TESTING_make_trait_string (1, pts->exchange_url), TALER_TESTING_make_trait_absolute_time (0, &pts->execution_time), TALER_TESTING_trait_end (), |