aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-11-19 23:02:37 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-11-19 23:02:37 +0100
commit368f3a9a6684dea78381c98ac9d217e9fc85e3b2 (patch)
tree98ada17caa1ac7e052b7afb7901568533ddc9016 /src/exchangedb/test_exchangedb.c
parent423f05970a6f440907763e4c250d169a3f484b3e (diff)
Minor changes to make tests pass/no-skip again.
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r--src/exchangedb/test_exchangedb.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 1bae92510..c6e9b86a0 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -1942,7 +1942,8 @@ run (void *cls)
FAILIF (1 !=
plugin->have_deposit (plugin->cls,
session,
- &deposit));
+ &deposit,
+ GNUNET_YES));
{
struct GNUNET_TIME_Absolute start_range;
struct GNUNET_TIME_Absolute end_range;
@@ -2032,13 +2033,15 @@ run (void *cls)
FAILIF (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS !=
plugin->have_deposit (plugin->cls,
session,
- &deposit2));
+ &deposit2,
+ GNUNET_YES));
deposit2.merchant_pub = deposit.merchant_pub;
RND_BLK (&deposit2.coin.coin_pub); /* should fail if coin is different */
FAILIF (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS !=
plugin->have_deposit (plugin->cls,
session,
- &deposit2));
+ &deposit2,
+ GNUNET_YES));
FAILIF (GNUNET_OK !=
test_melting (session));