diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index f896b49e3..e15d657e5 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -372,6 +372,12 @@ commit_coin_cmp (struct TALER_EXCHANGEDB_RefreshCommitCoin *rc1, */ #define MELT_NEW_COINS 5 +/** + * Which index was 'randomly' chosen for the reveal for the test? + */ +#define MELT_NOREVEAL_INDEX 1 + + static struct TALER_EXCHANGEDB_RefreshCommitCoin *commit_coins[TALER_CNC_KAPPA]; /** @@ -498,7 +504,7 @@ test_refresh_commit_links (struct TALER_EXCHANGEDB_Session *session, plugin->get_refresh_commit_link (plugin->cls, session, session_hash, - 1, + MELT_NOREVEAL_INDEX, &cl2)); for (i=0;ilink_data_enc; FAILIF (NULL == ldlp->ev_sig.rsa_signature); if ( (0 == @@ -752,7 +793,18 @@ test_melting (struct TALER_EXCHANGEDB_Session *session) plugin->free_link_data_list (plugin->cls, ldl); - /* FIXME #4401: test: get_transfer */ + { + int ok; + + ok = GNUNET_NO; + FAILIF (GNUNET_OK != + plugin->get_transfer (plugin->cls, + session, + &meltp->coin.coin_pub, + &check_transfer_data, + &ok)); + FAILIF (GNUNET_OK != ok); + } ret = GNUNET_OK; drop: