commit 483c845867bc76b303a0db28582d376b12f98bce
parent 77033e3b412709ed30a9ed7baecff8416b697dd8
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Fri, 17 Jul 2026 19:40:43 +0200
-clean up test logic
Diffstat:
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/testing/testing_api_cmd_charity_post.c b/src/testing/testing_api_cmd_charity_post.c
@@ -113,8 +113,7 @@ charity_status_cb (struct StatusState *ss,
TALER_TESTING_interpreter_fail (ss->is);
return;
}
- if (ss->expected_response_code == gcr->hr.http_status)
- ss->charity_id = gcr->details.ok.charity_id;
+ ss->charity_id = gcr->details.ok.charity_id;
TALER_TESTING_interpreter_next (ss->is);
}
diff --git a/src/testing/testing_api_cmd_donation_statement_get.c b/src/testing/testing_api_cmd_donation_statement_get.c
@@ -125,7 +125,7 @@ donation_statement_status_cb (struct StatusState *ss,
{
char *qr_string = DONAU_generate_qr_string (&dsr->details.ok.donau_pub,
&ss->donation_statement);
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"qr-string: %s\n", qr_string);
GNUNET_free (qr_string);