commit 43d8acb894f758250ac757af65b72892a212515d
parent f0d362ffdc4741c4da1cea6813116ffa4f2b08de
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 12 Sep 2024 15:48:04 +0200
-fix test FTBFS
Diffstat:
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c
@@ -5119,7 +5119,6 @@ run_test_refunds (struct TestRefunds_Closure *cls)
{
struct TALER_Amount inc;
uint64_t refund_serial;
- bool legal_failure = false;
/* Insert an instance */
TEST_RET_ON_FAIL (test_insert_instance (&cls->instance,
@@ -5216,8 +5215,7 @@ run_test_refunds (struct TestRefunds_Closure *cls)
&inc,
NULL,
NULL,
- "more",
- &legal_failure),
+ "more"),
"Increase refund failed\n");
/* Test increase refund */
GNUNET_assert (GNUNET_OK ==
@@ -5230,8 +5228,7 @@ run_test_refunds (struct TestRefunds_Closure *cls)
&inc,
NULL,
NULL,
- "more",
- &legal_failure),
+ "more"),
"Increase refund failed\n");
/* Test lookup refund proof */
TEST_RET_ON_FAIL (test_lookup_refund_proof (1,
@@ -5261,8 +5258,7 @@ run_test_refunds (struct TestRefunds_Closure *cls)
&inc,
NULL,
NULL,
- cls->refunds[1].reason,
- &legal_failure),
+ cls->refunds[1].reason),
"Increase refund failed\n");
GNUNET_assert (GNUNET_OK ==
TALER_string_to_amount ("EUR:20.00",
@@ -5274,10 +5270,8 @@ run_test_refunds (struct TestRefunds_Closure *cls)
&inc,
NULL,
NULL,
- cls->refunds[2].reason,
- &legal_failure),
+ cls->refunds[2].reason),
"Increase refund failed\n");
- GNUNET_assert (! legal_failure);
TEST_RET_ON_FAIL (test_lookup_refunds_detailed (&cls->instance,
&cls->deposits[2].
h_contract_terms,