diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 15:42:48 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 15:42:48 +0200 |
commit | cebf4f11b90350d25d0c9f71e0d5354e0fda25d8 (patch) | |
tree | 7bfe33d052b4e656e16dfcebee6724c8a0c2fc44 /src/testing/test_exchange_api.c | |
parent | 182c618579919c45281e4a2554890b2f40d2a974 (diff) | |
download | exchange-cebf4f11b90350d25d0c9f71e0d5354e0fda25d8.tar.xz |
-add test for batch deposits
Diffstat (limited to 'src/testing/test_exchange_api.c')
-rw-r--r-- | src/testing/test_exchange_api.c | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c index f7318d648..f30701c34 100644 --- a/src/testing/test_exchange_api.c +++ b/src/testing/test_exchange_api.c @@ -1183,22 +1183,16 @@ run (void *cls, /** * Spend the coins. */ - TALER_TESTING_cmd_deposit ("deposit-batch-simple-1", - "batch-withdraw-coin-1", - 0, - bc.user42_payto, - "{\"items\":[{\"name\":\"ice cream\",\"value\":5}]}", - GNUNET_TIME_UNIT_ZERO, - "EUR:5", - MHD_HTTP_OK), - TALER_TESTING_cmd_deposit ("deposit-batch-simple-2", - "batch-withdraw-coin-1", - 1, - bc.user42_payto, - "{\"items\":[{\"name\":\"ice cream\",\"value\":1}]}", - GNUNET_TIME_UNIT_ZERO, - "EUR:1", - MHD_HTTP_OK), + TALER_TESTING_cmd_batch_deposit ("batch-deposit-1", + bc.user42_payto, + "{\"items\":[{\"name\":\"ice cream\",\"value\":5}]}", + GNUNET_TIME_UNIT_ZERO, + MHD_HTTP_OK, + "batch-withdraw-coin-1#0", + "EUR:5", + "batch-withdraw-coin-1#1", + "EUR:1", + NULL), TALER_TESTING_cmd_end () }; |