From aa79e52fde4977bbacba26cbb4e06a98d35e8235 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 14 Aug 2015 23:09:34 +0200 Subject: activating test /refresh/link (still fails) --- src/mint-lib/test_mint_api.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mint-lib/test_mint_api.c') diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c index 86797586..91a3d762 100644 --- a/src/mint-lib/test_mint_api.c +++ b/src/mint-lib/test_mint_api.c @@ -1535,6 +1535,7 @@ interpreter_run (void *cls, ref = find_command (is, md->coin_ref); } + GNUNET_assert (OC_WITHDRAW_SIGN == ref->oc); /* finally, use private key from withdraw sign command */ cmd->details.refresh_link.rlh = TALER_MINT_refresh_link (mint, @@ -1961,14 +1962,14 @@ 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, .label = "refresh-link-1", .expected_response_code = MHD_HTTP_OK, .details.refresh_link.reveal_ref = "refresh-reveal-1" }, +#if TEST_REFRESH + /* Test successfully spending coins from the refresh operation: first EUR:1 */ { .oc = OC_DEPOSIT, -- cgit v1.2.3