aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-27 16:35:37 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-27 16:35:37 +0530
commite965659d360ad77cf359d9a7604c2fd6e4130a24 (patch)
treeff6d399f3c2c58ef5453db0503e6acc15bbe48d9
parent13bbcef87b7a88344aa09922205932a80dd610ac (diff)
recoup test: try recoup on non-revoked denomination
-rw-r--r--src/testing/test_exchange_api_revocation.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testing/test_exchange_api_revocation.c b/src/testing/test_exchange_api_revocation.c
index 05ec06b16..d757daa39 100644
--- 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,