summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing_api_cmd_post_orders.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_post_orders.c b/src/testing/testing_api_cmd_post_orders.c
index b3f15fc8..b818bd8c 100644
--- a/src/testing/testing_api_cmd_post_orders.c
+++ b/src/testing/testing_api_cmd_post_orders.c
@@ -205,7 +205,13 @@ orders_claim_cb (void *cls,
ps->och = NULL;
if (ps->http_status != hr->http_status)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Expected status %u, got %u\n",
+ ps->http_status,
+ hr->http_status);
TALER_TESTING_FAIL (ps->is);
+ }
ps->contract_terms = json_deep_copy (contract_terms);
ps->h_contract_terms = *hash;