summaryrefslogtreecommitdiff
path: root/src/bank-lib/test_bank_api_with_fakebank.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-03-21 18:47:35 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-03-21 18:47:35 +0100
commit9914a9b301c5b3381ddbe8dba8c47be2366e3de4 (patch)
tree0bce8c806ff54b8098197aa06bf1f7ba2f988408 /src/bank-lib/test_bank_api_with_fakebank.c
parenta3979b583fab4358c01a885a3b4468f8776b4027 (diff)
downloadexchange-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_with_fakebank.c')
-rw-r--r--src/bank-lib/test_bank_api_with_fakebank.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bank-lib/test_bank_api_with_fakebank.c b/src/bank-lib/test_bank_api_with_fakebank.c
index 429784696..5c940d789 100644
--- a/src/bank-lib/test_bank_api_with_fakebank.c
+++ b/src/bank-lib/test_bank_api_with_fakebank.c
@@ -88,7 +88,7 @@ run (void *cls)
.details.history.account_number = 2,
.details.history.direction = TALER_BANK_DIRECTION_BOTH,
.details.history.start_row_ref = NULL,
- .details.history.num_results = -5 },
+ .details.history.num_results = 5 },
{ .oc = TBI_OC_HISTORY,
.label = "history-2bi",
.details.history.account_number = 2,
@@ -130,13 +130,13 @@ run (void *cls)
in the history. So to see the rejected transfer, we need to start
looking after "credit-2" */
.details.history.start_row_ref = NULL,
- .details.history.num_results = -5 },
+ .details.history.num_results = 5 },
{ .oc = TBI_OC_HISTORY,
.label = "history-r1c",
.details.history.account_number = 1,
.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_EXPECT_TRANSFER,
.label = "expect-credit-reject-1",
.details.expect_transfer.cmd_ref = "credit-for-reject-1" },