summaryrefslogtreecommitdiff
path: root/src/bank-lib/test_bank_api_new.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-09 17:14:13 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-10 17:07:13 +0200
commitf3d80b58f68e308a6abac304994fd040ecb91eda (patch)
tree3177b4bebbde629bb521d5083edbc1245cd3eecc /src/bank-lib/test_bank_api_new.c
parent074b011d012eb0a202ff59b6444b272a8224cbf5 (diff)
downloadexchange-f3d80b58f68e308a6abac304994fd040ecb91eda.tar.gz
exchange-f3d80b58f68e308a6abac304994fd040ecb91eda.tar.bz2
exchange-f3d80b58f68e308a6abac304994fd040ecb91eda.zip
Make the API-agnostic iterator work.
This allows to build local histories to be matched against the ones returned by the bank; in particular, this version builds those stories regardless of /history or /history-range being run.
Diffstat (limited to 'src/bank-lib/test_bank_api_new.c')
-rw-r--r--src/bank-lib/test_bank_api_new.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bank-lib/test_bank_api_new.c b/src/bank-lib/test_bank_api_new.c
index 38ac537f7..027fbffe5 100644
--- a/src/bank-lib/test_bank_api_new.c
+++ b/src/bank-lib/test_bank_api_new.c
@@ -76,6 +76,20 @@ run (void *cls,
NULL, /* start */
5),
+ #if 0
+ /**
+ * Just a dummy call to check if the logic doesn't crash.
+ */
+ TALER_TESTING_cmd_bank_history_range_with_dates
+ ("history-0-range",
+ bank_url,
+ EXCHANGE_ACCOUNT_NUMBER,
+ TALER_BANK_DIRECTION_BOTH,
+ GNUNET_NO,
+ GNUNET_TIME_UNIT_ZERO_ABS,
+ GNUNET_TIME_UNIT_FOREVER_ABS),
+ #endif
+
TALER_TESTING_cmd_fakebank_transfer_with_subject
("deposit-1",
"KUDOS:5.01",