From e965659d360ad77cf359d9a7604c2fd6e4130a24 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 27 Mar 2020 16:35:37 +0530 Subject: recoup test: try recoup on non-revoked denomination --- src/testing/test_exchange_api_revocation.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/testing') 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, -- cgit v1.2.3