summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-10 17:34:27 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-10 17:34:27 +0200
commit66425084c1c57c1fa1ddec3fb4ae6ca8c38e1070 (patch)
tree4553474510a90461a3b474db952c77ee2ac84d0c
parent5c496633092de5ebccd43e7040db2cc92b72c332 (diff)
downloadexchange-66425084c1c57c1fa1ddec3fb4ae6ca8c38e1070.tar.gz
exchange-66425084c1c57c1fa1ddec3fb4ae6ca8c38e1070.tar.bz2
exchange-66425084c1c57c1fa1ddec3fb4ae6ca8c38e1070.zip
Test /history-range after transactions happened.
-rw-r--r--src/bank-lib/test_bank_api_new.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bank-lib/test_bank_api_new.c b/src/bank-lib/test_bank_api_new.c
index c35bb13b..5031a308 100644
--- a/src/bank-lib/test_bank_api_new.c
+++ b/src/bank-lib/test_bank_api_new.c
@@ -164,6 +164,18 @@ run (void *cls,
"deposit-1",
5),
+ /**
+ * Just check that the two transactions show up.
+ */
+ TALER_TESTING_cmd_bank_history_range_with_dates
+ ("history-2-range",
+ bank_url,
+ EXCHANGE_ACCOUNT_NUMBER,
+ TALER_BANK_DIRECTION_BOTH,
+ GNUNET_NO,
+ NOWMINUSSECS (5),
+ NOWPLUSSECS (5)),
+
TALER_TESTING_cmd_bank_reject ("reject-1",
bank_url,
"deposit-1"),