merchant

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

commit 9626af456f4397102d0197134a9fc1140478b5a0
parent ca73be08fb511267d4ffe84a5a9d737ac4a57689
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Sat, 22 Jul 2017 05:50:26 +0200

/history issue testcase

Diffstat:
Msrc/backenddb/plugin_merchantdb_postgres.c | 4+++-
Msrc/lib/test_merchant_api.c | 2+-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -1066,7 +1066,9 @@ postgres_find_contract_terms_by_date_and_range (void *cls, .cb = cb, .cb_cls = cb_cls }; - + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "DB serving /history with date %s\n", + GNUNET_STRINGS_absolute_time_to_string (date)); if (GNUNET_YES == future) stmt = "find_contract_terms_by_date_and_range_future"; else diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c @@ -2711,7 +2711,7 @@ run (void *cls) .label = "history-1", .expected_response_code = MHD_HTTP_OK, /*all records to be returned*/ - .details.history.date.abs_value_us = 43 * 1000LL * 1000LL, + .details.history.date.abs_value_us = 99999999999 * 1000LL * 1000LL, .details.history.nresult = 2, .details.history.start = 10, .details.history.nrows = 10