commit ea86956514fba290c6c05b61634d42a28c2bfcf8
parent 354483fa2bfb7bc772d0adeea110b23ce5a95a6e
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Thu, 10 May 2018 10:49:19 +0200
rewinding payments within the generator.
Diffstat:
1 file changed, 7 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
@@ -49,6 +49,8 @@
#define USER_LOGIN_PASS "x"
#define EXCHANGE_URL "http://example.com/"
+#define FIRST_INSTRUCTION -1
+
#define CMD_TRANSFER_TO_EXCHANGE(label,amount) \
TALER_TESTING_cmd_fakebank_transfer (label, amount, \
bank_url, USER_ACCOUNT_NO, EXCHANGE_ACCOUNT_NO, \
@@ -182,6 +184,11 @@ run (void *cls,
"USD:4.99",
"USD:0.01"),
+ TALER_TESTING_cmd_rewind_ip
+ ("rewind-payments",
+ FIRST_INSTRUCTION,
+ &payments_number),
+
TALER_TESTING_cmd_end ()
};