aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-17 10:37:06 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-17 10:37:06 +0200
commitb898399507f37ee20249da7168ea41b86f867d65 (patch)
tree5296c460e62ea1f2b5d64c58fc4f6e6ce9df5092
parent920462e88c910a59b7f619d60eb390e4ed2deed9 (diff)
Trigger invalid merchant signature on refund
-rw-r--r--src/exchange-lib/test_exchange_api_twisted.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/exchange-lib/test_exchange_api_twisted.c b/src/exchange-lib/test_exchange_api_twisted.c
index c82d785b9..369aabafd 100644
--- a/src/exchange-lib/test_exchange_api_twisted.c
+++ b/src/exchange-lib/test_exchange_api_twisted.c
@@ -255,6 +255,18 @@ run (void *cls,
"EUR:10",
"deposit-refund-1"),
+ TALER_TESTING_cmd_flip_upload
+ ("flip-upload",
+ CONFIG_FILE,
+ "merchant_sig"),
+
+ TALER_TESTING_cmd_refund
+ ("refund-bad-sig",
+ MHD_HTTP_BAD_REQUEST,
+ "EUR:5",
+ "EUR:0.01",
+ "deposit-refund-1"),
+
TALER_TESTING_cmd_end ()
};