aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_post_orders.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-07-10 10:50:52 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-07-10 10:50:59 +0200
commit19794a97ebd1ad3f1ee04c9b8878c807cdfa079e (patch)
tree0858a4f67a6bde559f9ce485067b811edfea5564 /src/testing/testing_api_cmd_post_orders.c
parent56f7d06f4f8c64c420ea8173fb31f02062920e13 (diff)
-use unexpected status report with reply
Diffstat (limited to 'src/testing/testing_api_cmd_post_orders.c')
-rw-r--r--src/testing/testing_api_cmd_post_orders.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_post_orders.c b/src/testing/testing_api_cmd_post_orders.c
index b89e0e89..da4aa406 100644
--- a/src/testing/testing_api_cmd_post_orders.c
+++ b/src/testing/testing_api_cmd_post_orders.c
@@ -260,8 +260,10 @@ order_cb (void *cls,
ps->po = NULL;
if (ps->http_status != por->hr.http_status)
{
- TALER_TESTING_unexpected_status (ps->is,
- por->hr.http_status);
+ TALER_TESTING_unexpected_status_with_body (ps->is,
+ por->hr.http_status,
+ ps->http_status,
+ por->hr.reply);
}
switch (por->hr.http_status)
{