merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit c892b808b20abfdc64d3e7fb6a39402f3099cc09
parent 3e4ae933093b6161aa4f7c6ec21f3210f4f23945
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Fri, 10 Feb 2017 17:51:02 +0100

Adding a second call to /track/transaction in
testcases.

Diffstat:
Msrc/lib/test_merchant_api.c | 12++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c @@ -2438,10 +2438,14 @@ run (void *cls) .details.track_transfer.check_bank_ref = "check_bank_transfer-499c-2", .details.track_transfer.expected_pay_ref = "deposit-simple-2" }, - /** - * NOTE: could NOT initialize timestamps by calling GNUNET_TIME_xy () - * because that raised a 'Initializer element is not constant' when compiling. - */ + + { .oc = OC_TRACK_TRANSACTION, + .label = "track-transaction-2", + .expected_response_code = MHD_HTTP_OK, + .details.track_transaction.expected_transfer_ref = "check_bank_transfer-499c-2", + .details.track_transaction.pay_ref = "deposit-simple-2" + }, + { .oc = OC_HISTORY, .label = "history-1", .expected_response_code = MHD_HTTP_OK,