summaryrefslogtreecommitdiff
path: root/src/bank-lib/fakebank.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-05-04 23:52:54 +0200
committerChristian Grothoff <christian@grothoff.org>2017-05-04 23:52:54 +0200
commit69fa9b41d1896d2d2beeee086308f62b4f1e35c4 (patch)
tree8a6e021b1ecff81f32d3a52dd9cec98732c05a68 /src/bank-lib/fakebank.c
parent0e632ffdd26d2473f476e6311f9ab544eb8c8a39 (diff)
downloadexchange-69fa9b41d1896d2d2beeee086308f62b4f1e35c4.tar.gz
exchange-69fa9b41d1896d2d2beeee086308f62b4f1e35c4.tar.bz2
exchange-69fa9b41d1896d2d2beeee086308f62b4f1e35c4.zip
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.c3
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) &&