Trigger refund insufficient funds

This commit is contained in:
Marcello Stanisci 2018-05-17 15:24:48 +02:00
parent 2fff7d8f3a
commit 1b5dfe20c3
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -243,7 +243,7 @@ run (void *cls,
"deposit-refund-1"), "deposit-refund-1"),
TALER_TESTING_cmd_refund TALER_TESTING_cmd_refund
("refund-above-amount", ("refund-fee-above-amount",
MHD_HTTP_BAD_REQUEST, MHD_HTTP_BAD_REQUEST,
"EUR:5", "EUR:5",
"EUR:10", "EUR:10",
@ -289,6 +289,13 @@ run (void *cls,
"EUR:0.01", "EUR:0.01",
"deposit-refund-to-fail"), "deposit-refund-to-fail"),
TALER_TESTING_cmd_refund
("refund-insufficient-funds",
MHD_HTTP_PRECONDITION_FAILED,
"EUR:50",
"EUR:0.01",
"deposit-refund-1"),
TALER_TESTING_cmd_end () TALER_TESTING_cmd_end ()
}; };