commit e965659d360ad77cf359d9a7604c2fd6e4130a24
parent 13bbcef87b7a88344aa09922205932a80dd610ac
Author: Florian Dold <florian.dold@gmail.com>
Date: Fri, 27 Mar 2020 16:35:37 +0530
recoup test: try recoup on non-revoked denomination
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/testing/test_exchange_api_revocation.c b/src/testing/test_exchange_api_revocation.c
@@ -108,6 +108,11 @@ run (void *cls,
TALER_TESTING_cmd_refresh_reveal ("refresh-reveal-1",
"refresh-melt-1",
MHD_HTTP_OK),
+ /* Try to recoup before it's allowed */
+ TALER_TESTING_cmd_recoup ("recoup-not-allowed",
+ MHD_HTTP_NOT_FOUND,
+ "refresh-reveal-1#0",
+ "refresh-melt-1"),
/* Make refreshed coin invalid */
TALER_TESTING_cmd_revoke ("revoke-2-EUR:5",
MHD_HTTP_OK,