diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-17 10:34:52 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-17 10:34:52 +0200 |
commit | 920462e88c910a59b7f619d60eb390e4ed2deed9 (patch) | |
tree | 9128108ea707208a4ff6239cd75de51919b375a5 /src/exchange-lib/test_exchange_api_twisted.c | |
parent | e5ec16b9089873876036443835ecfe324881fd5b (diff) | |
download | exchange-920462e88c910a59b7f619d60eb390e4ed2deed9.tar.xz |
Trigger above-amount error
Diffstat (limited to 'src/exchange-lib/test_exchange_api_twisted.c')
-rw-r--r-- | src/exchange-lib/test_exchange_api_twisted.c | 9 |
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 () }; |