diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-10 17:34:27 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-10 17:34:27 +0200 |
commit | 66425084c1c57c1fa1ddec3fb4ae6ca8c38e1070 (patch) | |
tree | 4553474510a90461a3b474db952c77ee2ac84d0c /src/bank-lib | |
parent | 5c496633092de5ebccd43e7040db2cc92b72c332 (diff) |
Test /history-range after transactions happened.
Diffstat (limited to 'src/bank-lib')
-rw-r--r-- | src/bank-lib/test_bank_api_new.c | 12 |
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 c35bb13bc..5031a3089 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"), |