diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-03-21 18:47:35 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-03-21 18:47:35 +0100 |
commit | 9914a9b301c5b3381ddbe8dba8c47be2366e3de4 (patch) | |
tree | 0bce8c806ff54b8098197aa06bf1f7ba2f988408 /src/bank-lib/test_bank_api.c | |
parent | a3979b583fab4358c01a885a3b4468f8776b4027 (diff) | |
download | exchange-9914a9b301c5b3381ddbe8dba8c47be2366e3de4.tar.gz exchange-9914a9b301c5b3381ddbe8dba8c47be2366e3de4.tar.bz2 exchange-9914a9b301c5b3381ddbe8dba8c47be2366e3de4.zip |
Adapt "/history" tests to the new policy of 'start' defaults.
Diffstat (limited to 'src/bank-lib/test_bank_api.c')
-rw-r--r-- | src/bank-lib/test_bank_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 } }; |