diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-03-27 16:35:37 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-03-27 16:35:37 +0530 |
commit | e965659d360ad77cf359d9a7604c2fd6e4130a24 (patch) | |
tree | ff6d399f3c2c58ef5453db0503e6acc15bbe48d9 | |
parent | 13bbcef87b7a88344aa09922205932a80dd610ac (diff) |
recoup test: try recoup on non-revoked denomination
-rw-r--r-- | src/testing/test_exchange_api_revocation.c | 5 |
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, |