merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit b9c73612d3f58ae223d34c8d138d17fdcd01fae1
parent 561a579587d1c1144ff89198832fa1ed15872f64
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Thu, 28 Apr 2016 13:24:51 +0200

up to providing mock data for "make check"

Diffstat:
Msrc/backenddb/test_merchantdb.c | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c @@ -49,6 +49,21 @@ run (void *cls) result = 1; return; } + if (GNUNET_OK != + plugin->initialize (plugin->cls, + GNUNET_YES)) + { + result = 2; + goto drop; + } + + /* Prepare data for 'store_payment()' */ + + /* Prepare data for 'check_payment()' */ + + drop: + TALER_MERCHANTDB_plugin_unload (plugin); + plugin = NULL; } int