commit 17b7c5b8a701a165e8da4f86a8fce45d594bff4f
parent 194c97899c81cafa3673f7f7d9db6be8425e0fc2
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Thu, 23 Feb 2017 17:57:12 +0100
comments
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
@@ -2451,13 +2451,15 @@ run (void *cls)
{ .oc = OC_HISTORY,
.label = "history-1",
.expected_response_code = MHD_HTTP_OK,
+ /*all records to be returned*/
.details.history.date.abs_value_us = 0,
.details.history.nresult = 2
},
{ .oc = OC_HISTORY,
.label = "history-2",
.expected_response_code = MHD_HTTP_OK,
- .details.history.date.abs_value_us = 43 * 1000LL * 1000LL,
+ /*no records to be returned, as limit is in the future*/
+ .details.history.date.abs_value_us = 43 * 1000LL * 1000LL,
.details.history.nresult = 0
},