diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-09-12 15:48:04 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-09-12 15:48:04 +0200 |
commit | 43d8acb894f758250ac757af65b72892a212515d (patch) | |
tree | a6851b023efbe4adf45af86b082025d2e049adc0 | |
parent | f0d362ffdc4741c4da1cea6813116ffa4f2b08de (diff) |
-fix test FTBFS
-rw-r--r-- | src/backenddb/test_merchantdb.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c index 104a1d5d..36464121 100644 --- 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, |