aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-17 10:34:52 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-17 10:34:52 +0200
commit920462e88c910a59b7f619d60eb390e4ed2deed9 (patch)
tree9128108ea707208a4ff6239cd75de51919b375a5 /src
parente5ec16b9089873876036443835ecfe324881fd5b (diff)
Trigger above-amount error
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/test_exchange_api_twisted.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/exchange-lib/test_exchange_api_twisted.c b/src/exchange-lib/test_exchange_api_twisted.c
index c7e371944..c82d785b9 100644
--- a/src/exchange-lib/test_exchange_api_twisted.c
+++ b/src/exchange-lib/test_exchange_api_twisted.c
@@ -242,12 +242,19 @@ run (void *cls,
"USD:5"),
TALER_TESTING_cmd_refund
- ("refund-ok",
+ ("refund-currency-missmatch",
MHD_HTTP_BAD_REQUEST,
"EUR:5",
"EUR:0.01",
"deposit-refund-1"),
+ TALER_TESTING_cmd_refund
+ ("refund-above-amount",
+ MHD_HTTP_BAD_REQUEST,
+ "EUR:5",
+ "EUR:10",
+ "deposit-refund-1"),
+
TALER_TESTING_cmd_end ()
};