From 9914a9b301c5b3381ddbe8dba8c47be2366e3de4 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Thu, 21 Mar 2019 18:47:35 +0100 Subject: Adapt "/history" tests to the new policy of 'start' defaults. --- src/bank-lib/test_bank_api.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bank-lib/test_bank_api.c') diff --git a/src/bank-lib/test_bank_api.c b/src/bank-lib/test_bank_api.c index 1e69c01e1..b1b943771 100644 --- a/src/bank-lib/test_bank_api.c +++ b/src/bank-lib/test_bank_api.c @@ -74,7 +74,7 @@ run (void *cls) .details.history.account_number = 2, .details.history.direction = TALER_BANK_DIRECTION_CREDIT, .details.history.start_row_ref = NULL, - .details.history.num_results = -5 }, + .details.history.num_results = 5 }, /* Ask Exchange's outgoing history, 5 records into the future */ { .oc = TBI_OC_HISTORY, .label = "history-2d", @@ -88,7 +88,7 @@ run (void *cls) .details.history.account_number = 2, .details.history.direction = TALER_BANK_DIRECTION_DEBIT, .details.history.start_row_ref = NULL, - .details.history.num_results = -5 }, + .details.history.num_results = 5 }, { .oc = TBI_OC_HISTORY, .label = "history-2fwd", .details.history.account_number = 2, @@ -103,7 +103,7 @@ run (void *cls) .details.history.account_number = 2, .details.history.direction = TALER_BANK_DIRECTION_CREDIT, .details.history.start_row_ref = NULL, - .details.history.num_results = -5 }, + .details.history.num_results = 5 }, { .oc = TBI_OC_HISTORY, .label = "history-r2", .details.history.account_number = 2, @@ -115,7 +115,7 @@ run (void *cls) .details.history.account_number = 2, .details.history.direction = TALER_BANK_DIRECTION_BOTH | TALER_BANK_DIRECTION_CANCEL, .details.history.start_row_ref = NULL, - .details.history.num_results = -5 }, + .details.history.num_results = 5 }, { .oc = TBI_OC_END } }; -- cgit v1.2.3