aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_get_template.c
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2023-01-03 07:19:03 -0500
committerpriscilla <priscilla.huang@efrei.net>2023-01-03 07:19:03 -0500
commit11d161bf3e688739407364900dbd6dca6f1dade8 (patch)
treeaff6a1449bc0013a74dd1521583dbab98de399cd /src/testing/testing_api_cmd_get_template.c
parentdbd6edd6617647208e59665bcdbf7ce985a4ed28 (diff)
downloadmerchant-11d161bf3e688739407364900dbd6dca6f1dade8.tar.gz
merchant-11d161bf3e688739407364900dbd6dca6f1dade8.tar.bz2
merchant-11d161bf3e688739407364900dbd6dca6f1dade8.zip
test ok for templates and using templates
Diffstat (limited to 'src/testing/testing_api_cmd_get_template.c')
-rw-r--r--src/testing/testing_api_cmd_get_template.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_get_template.c b/src/testing/testing_api_cmd_get_template.c
index 44568b89..633f1ba5 100644
--- a/src/testing/testing_api_cmd_get_template.c
+++ b/src/testing/testing_api_cmd_get_template.c
@@ -128,12 +128,14 @@ get_template_cb (void *cls,
TALER_TESTING_interpreter_fail (gis->is);
if ( ( (NULL == image) && (NULL != *expected_image)) ||
( (NULL != image) && (NULL == *expected_image)) ||
- ( (NULL == image) &&
+ ( (NULL != image) &&
(0 != strcmp (image,
*expected_image)) ) )
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Template image does not match\n");
+ "Template image `%s' does not match `%s'\n",
+ image,
+ *expected_image);
TALER_TESTING_interpreter_fail (gis->is);
return;
}