diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-19 20:12:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-19 20:12:00 +0200 |
commit | a0c66e79191ca4339ea91e74e3742ccd8bd515ab (patch) | |
tree | 2799dd22bbcd55b8aa7401abbc206d41fa18f92c /src/exchangedb/test_exchangedb.c | |
parent | beea8eb383a4292b976c6c5d7356e6863e1adcbe (diff) |
fix #5010 for /track/transfer
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 380b037cd..5c33418e1 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -1185,7 +1185,7 @@ test_wire_fees (struct TALER_EXCHANGEDB_Session *session) } /* This must fail as 'end_date' is NOT in the half-open interval [start_date,end_date) */ - if (GNUNET_OK == + if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS != plugin->get_wire_fee (plugin->cls, session, "wire-method", @@ -1198,7 +1198,7 @@ test_wire_fees (struct TALER_EXCHANGEDB_Session *session) GNUNET_break (0); return GNUNET_SYSERR; } - if (GNUNET_OK != + if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != plugin->get_wire_fee (plugin->cls, session, "wire-method", @@ -1302,7 +1302,7 @@ test_wire_out (struct TALER_EXCHANGEDB_Session *session, TALER_amount_subtract (&transfer_value_wt, &coin_value_wt, &coin_fee_wt)); - FAILIF (GNUNET_NO != + FAILIF (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS != plugin->lookup_wire_transfer (plugin->cls, session, &wire_out_wtid, @@ -1344,7 +1344,7 @@ test_wire_out (struct TALER_EXCHANGEDB_Session *session, plugin->commit (plugin->cls, session)); - FAILIF (GNUNET_OK != + FAILIF (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != plugin->lookup_wire_transfer (plugin->cls, session, &wire_out_wtid, |