summaryrefslogtreecommitdiff
path: root/src/backenddb/test_merchantdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/test_merchantdb.c')
-rw-r--r--src/backenddb/test_merchantdb.c2
1 files changed, 2 insertions, 0 deletions
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;