commit 15ecd39b70d5c4847306a135d4dfdf055f0abe1e
parent f30f7114e089d53a5e1391ffe41acf121ca0d5cd
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Thu, 10 May 2018 22:18:21 +0200
paygen has reached its (likely) final form.
Diffstat:
1 file changed, 29 insertions(+), 0 deletions(-)
diff --git a/src/merchant-tools/taler-merchant-generate-payments_new.c b/src/merchant-tools/taler-merchant-generate-payments_new.c
@@ -57,6 +57,7 @@
#define EXCHANGE_URL "http://example.com/"
#define FIRST_INSTRUCTION -1
+#define TRACKS_INSTRUCTION 10
#define CMD_TRANSFER_TO_EXCHANGE(label,amount) \
TALER_TESTING_cmd_fakebank_transfer (label, amount, \
@@ -211,6 +212,34 @@ run (void *cls,
"USD:4.99",
"USD:0.01"),
+ /* /track/transaction over deposit-simple-2 */
+
+ TALER_TESTING_cmd_exec_aggregator
+ ("aggregate-1",
+ default_config_file),
+
+ TALER_TESTING_cmd_merchant_track_transaction
+ ("track-transaction-1",
+ merchant_url,
+ is->ctx,
+ MHD_HTTP_OK,
+ "dummy",
+ "deposit-simple-2",
+ "USD:0.01"),
+
+ TALER_TESTING_cmd_merchant_track_transfer
+ ("track-transfer-1",
+ merchant_url,
+ is->ctx,
+ MHD_HTTP_OK,
+ "track-transaction-1",
+ "deposit-simple-2"),
+
+ TALER_TESTING_cmd_rewind_ip
+ ("rewind-tracks",
+ TRACKS_INSTRUCTION,
+ &tracks_number),
+
TALER_TESTING_cmd_end ()
};