From 9ac6fc8c84748f3de070b44822ec47c4f854bd15 Mon Sep 17 00:00:00 2001 From: priscilla Date: Tue, 21 Feb 2023 12:39:40 -0500 Subject: update changes --- src/backenddb/test_merchantdb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/backenddb/test_merchantdb.c') diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c index 09cccc78..7b51138f 100644 --- a/src/backenddb/test_merchantdb.c +++ b/src/backenddb/test_merchantdb.c @@ -6878,6 +6878,7 @@ make_template (const char *id, template->id = id; template->template.template_description = "This is a test template"; template->template.pos_key = NULL; + template->template.pos_algorithm = 0; template->template.template_contract = json_array (); GNUNET_assert (NULL != template->template.template_contract); } @@ -6912,6 +6913,7 @@ check_templates_equal (const struct TALER_MERCHANTDB_TemplateDetails *a, ( (NULL == a->pos_key) && (NULL != b->pos_key)) || ( (NULL != a->pos_key) && (NULL == b->pos_key)) || ( (NULL != a->pos_key) && (0 != strcmp (a->pos_key, b->pos_key))) || + ( a->pos_algorithm != b->pos_algorithm ) || (1 != json_equal (a->template_contract, b->template_contract))) return 1; -- cgit v1.2.3