From 9d706a01a23e36e1c349d06e7a1be8bb44b7f0d5 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Mon, 10 Jul 2023 10:22:29 +0200 Subject: added expected HTTP-code to logger --- src/testing/testing_api_cmd_deposit.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/testing/testing_api_cmd_deposit.c') diff --git a/src/testing/testing_api_cmd_deposit.c b/src/testing/testing_api_cmd_deposit.c index f2a3a269..2fa0141f 100644 --- a/src/testing/testing_api_cmd_deposit.c +++ b/src/testing/testing_api_cmd_deposit.c @@ -248,8 +248,12 @@ deposit_cb (void *cls, return; } } - TALER_TESTING_unexpected_status (ds->is, - dr->hr.http_status); + TALER_TESTING_unexpected_status_with_body ( + ds->is, + dr->hr.http_status, + ds->expected_response_code, + dr->hr.reply); + return; } if (MHD_HTTP_OK == dr->hr.http_status) -- cgit v1.2.3