aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-03-26 12:00:10 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-03-26 12:00:10 +0200
commit1247a3efe9d42fc521cd8f2ededd99d72ba51a77 (patch)
tree37d632f07fb73a3a14683b9e6fdae1954cd6a112
parented2f256cc491ce6be3763160e30fcd4c4a77bc75 (diff)
testing /check-payment.
Making the response claiming a contract X was paid, where it was not.
-rw-r--r--src/lib/test_merchant_api_twisted.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/test_merchant_api_twisted.c b/src/lib/test_merchant_api_twisted.c
index dc7e06f7..6d2b6f21 100644
--- a/src/lib/test_merchant_api_twisted.c
+++ b/src/lib/test_merchant_api_twisted.c
@@ -231,6 +231,12 @@ run (void *cls,
"proposal-for-check-payment",
GNUNET_SYSERR),
+ TALER_TESTING_cmd_modify_object
+ ("paid-true-for-unpaid",
+ PROXY_MERCHANT_CONFIG_FILE,
+ "paid",
+ "true"),
+
TALER_TESTING_cmd_check_payment
("check-payment-fail-invalid-0",
twister_merchant_url,