aboutsummaryrefslogtreecommitdiff
path: root/src/lib/test_merchant_api_twisted.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-03-22 12:56:33 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-03-22 12:56:33 +0100
commit8d6bc6da5c9260920ca3265f84a30935999fc88d (patch)
tree0e3c073bab72f3b46b8270415c8c239ba6cb32e3 /src/lib/test_merchant_api_twisted.c
parent152c64b1b3ab84e3dc78b1fef5e49a2f221f2d8c (diff)
new paths in /pay abortions.
Diffstat (limited to 'src/lib/test_merchant_api_twisted.c')
-rw-r--r--src/lib/test_merchant_api_twisted.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/lib/test_merchant_api_twisted.c b/src/lib/test_merchant_api_twisted.c
index 756b0841..ed67a065 100644
--- a/src/lib/test_merchant_api_twisted.c
+++ b/src/lib/test_merchant_api_twisted.c
@@ -572,7 +572,7 @@ run (void *cls,
"EUR:1.99", // no sense now
"EUR:0.01"), // no sense now
- TALER_TESTING_cmd_delete_object ("hack-abort",
+ TALER_TESTING_cmd_delete_object ("hack-abort-1",
PROXY_MERCHANT_CONFIG_FILE,
"merchant_pub"),
@@ -580,7 +580,18 @@ run (void *cls,
twister_merchant_url,
"deposit-simple-for-abort",
is->ctx,
- MHD_HTTP_OK),
+ 0),
+
+ TALER_TESTING_cmd_delete_object
+ ("hack-abort-2",
+ PROXY_MERCHANT_CONFIG_FILE,
+ "refund_permissions.0.rtransaction_id"),
+
+ TALER_TESTING_cmd_pay_abort ("pay-abort-2",
+ twister_merchant_url,
+ "deposit-simple-for-abort",
+ is->ctx,
+ 0),
/**
* End the suite. Fixme: better to have a label for this
* too, as it shows a "(null)" token on logs.