Adapt test to bank returning descending /history elements.
This commit is contained in:
parent
b3c31f8f59
commit
c1a75b5b98
@ -111,7 +111,7 @@ run (void *cls,
|
|||||||
EXCHANGE_ACCOUNT_NUMBER,
|
EXCHANGE_ACCOUNT_NUMBER,
|
||||||
TALER_BANK_DIRECTION_CREDIT,
|
TALER_BANK_DIRECTION_CREDIT,
|
||||||
NULL,
|
NULL,
|
||||||
5),
|
-5),
|
||||||
|
|
||||||
TALER_TESTING_cmd_bank_history ("history-1d",
|
TALER_TESTING_cmd_bank_history ("history-1d",
|
||||||
bank_url,
|
bank_url,
|
||||||
|
@ -67,7 +67,7 @@ struct HistoryState
|
|||||||
/**
|
/**
|
||||||
* How many rows we want in the result.
|
* How many rows we want in the result.
|
||||||
*/
|
*/
|
||||||
unsigned int num_results;
|
long long num_results;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle to a pending "history" operation.
|
* Handle to a pending "history" operation.
|
||||||
@ -781,7 +781,7 @@ TALER_TESTING_cmd_bank_history
|
|||||||
uint64_t account_no,
|
uint64_t account_no,
|
||||||
enum TALER_BANK_Direction direction,
|
enum TALER_BANK_Direction direction,
|
||||||
const char *start_row_reference,
|
const char *start_row_reference,
|
||||||
unsigned int num_results)
|
long long num_results)
|
||||||
{
|
{
|
||||||
struct HistoryState *hs;
|
struct HistoryState *hs;
|
||||||
struct TALER_TESTING_Command cmd;
|
struct TALER_TESTING_Command cmd;
|
||||||
|
@ -105,7 +105,7 @@ TALER_TESTING_cmd_bank_history
|
|||||||
uint64_t account_no,
|
uint64_t account_no,
|
||||||
enum TALER_BANK_Direction direction,
|
enum TALER_BANK_Direction direction,
|
||||||
const char *start_row_reference,
|
const char *start_row_reference,
|
||||||
unsigned int num_results);
|
long long num_results);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a "reject" CMD.
|
* Create a "reject" CMD.
|
||||||
|
Loading…
Reference in New Issue
Block a user