diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-13 19:38:15 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-13 19:38:15 +0100 |
commit | b3c31f8f5985124d33cee7e3cf4d05b7d32c35d9 (patch) | |
tree | 7546ca8b7d89508476287f931dea2932daa4e97a /src/bank-lib/test_bank_api.c | |
parent | ef58152c2bb1c91b8771b88f1c7e59e7e890dc55 (diff) | |
download | exchange-b3c31f8f5985124d33cee7e3cf4d05b7d32c35d9.tar.xz |
Adapt test to bank returning descending /history elements.
Diffstat (limited to 'src/bank-lib/test_bank_api.c')
-rw-r--r-- | src/bank-lib/test_bank_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bank-lib/test_bank_api.c b/src/bank-lib/test_bank_api.c index f356b0a8d..1e69c01e1 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", @@ -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 } }; |