diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c index 4b1b0f228..19b50373b 100644 --- a/src/mint-lib/test_mint_api.c +++ b/src/mint-lib/test_mint_api.c @@ -1948,7 +1948,6 @@ run (void *cls, .details.refresh_melt.melted_coins = melt_coins_1, .details.refresh_melt.fresh_amounts = melt_fresh_amounts_1 }, -#if TEST_REFRESH /* Complete (successful) melt operation, and withdraw the coins */ { .oc = OC_REFRESH_REVEAL, @@ -1956,6 +1955,7 @@ run (void *cls, .expected_response_code = MHD_HTTP_OK, .details.refresh_reveal.melt_ref = "refresh-melt-1" }, +#if TEST_REFRESH /* Test that /refresh/link works */ { .oc = OC_REFRESH_LINK, diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c index a5a0681b6..1a5e5a2f0 100644 --- a/src/mint/taler-mint-httpd.c +++ b/src/mint/taler-mint-httpd.c @@ -222,7 +222,7 @@ handle_mhd_request (void *cls, { "/refresh/reveal", MHD_HTTP_METHOD_POST, "application/json", NULL, 0, - &TMH_REFRESH_handler_refresh_melt, MHD_HTTP_OK }, + &TMH_REFRESH_handler_refresh_reveal, MHD_HTTP_OK }, { "/refresh/reveal", NULL, "text/plain", "Only POST is allowed", 0, &TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED },