diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-05-07 21:11:56 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-05-07 21:11:56 +0200 |
commit | 18a020dd0241fbb7deead15b96d5f5fed9f1b9b5 (patch) | |
tree | f3a1173c4df79750330148f466e53134e08b9d79 /src/bank-lib/test_bank_api.c | |
parent | 56786aea5a4dbdc80f257539e801176fc0697a3b (diff) | |
download | exchange-18a020dd0241fbb7deead15b96d5f5fed9f1b9b5.tar.xz |
implement fakebank support (incl. tests) for #5005/#4964/4959
Diffstat (limited to 'src/bank-lib/test_bank_api.c')
-rw-r--r-- | src/bank-lib/test_bank_api.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bank-lib/test_bank_api.c b/src/bank-lib/test_bank_api.c index 23407697e..086a0af3a 100644 --- a/src/bank-lib/test_bank_api.c +++ b/src/bank-lib/test_bank_api.c @@ -44,7 +44,7 @@ run (void *cls) .label = "history-0", .details.history.account_number = 1, .details.history.direction = TALER_BANK_DIRECTION_BOTH, - .details.history.start_row = 0, + .details.history.start_row_ref = NULL, .details.history.num_results = 5 }, { .oc = TBI_OC_ADMIN_ADD_INCOMING, .label = "deposit-1", @@ -64,25 +64,25 @@ run (void *cls) .label = "history-1c", .details.history.account_number = 1, .details.history.direction = TALER_BANK_DIRECTION_CREDIT, - .details.history.start_row = 0, + .details.history.start_row_ref = NULL, .details.history.num_results = 5 }, { .oc = TBI_OC_HISTORY, .label = "history-2d", .details.history.account_number = 2, .details.history.direction = TALER_BANK_DIRECTION_DEBIT, - .details.history.start_row = 0, + .details.history.start_row_ref = NULL, .details.history.num_results = 5 }, { .oc = TBI_OC_HISTORY, .label = "history-2dr", .details.history.account_number = 2, .details.history.direction = TALER_BANK_DIRECTION_DEBIT, - .details.history.start_row = UINT64_MAX, + .details.history.start_row_ref = NULL, .details.history.num_results = -5 }, { .oc = TBI_OC_HISTORY, .label = "history-2fwd", .details.history.account_number = 2, .details.history.direction = TALER_BANK_DIRECTION_DEBIT, - .details.history.start_row = 1, + .details.history.start_row_ref = "deposit-1", .details.history.num_results = 5 }, { .oc = TBI_OC_END } }; |