diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-05-04 23:52:54 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-05-04 23:52:54 +0200 |
commit | 69fa9b41d1896d2d2beeee086308f62b4f1e35c4 (patch) | |
tree | 8a6e021b1ecff81f32d3a52dd9cec98732c05a68 /src/bank-lib/fakebank.c | |
parent | 0e632ffdd26d2473f476e6311f9ab544eb8c8a39 (diff) |
start to add /history testing support to tests, fix some minor issues
Diffstat (limited to 'src/bank-lib/fakebank.c')
-rw-r--r-- | src/bank-lib/fakebank.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c index 3f067ee89..eb7656383 100644 --- a/src/bank-lib/fakebank.c +++ b/src/bank-lib/fakebank.c @@ -400,6 +400,8 @@ handle_history (struct TALER_FAKEBANK_Handle *h, MHD_GET_ARGUMENT_KIND, "account_number"); if ( (NULL == auth) || + (0 != strcasecmp (auth, + "basic")) || (NULL == acc) || (NULL == delta) ) { @@ -456,7 +458,6 @@ handle_history (struct TALER_FAKEBANK_Handle *h, } pos = pos->next; } - GNUNET_assert (pos->serial_id == start_number); } history = json_array (); while ( (NULL != pos) && |