commit 9db383fa25337ad9724241b625bb4cf39df1dcde parent f5ae834952871f209cda38f205f3aad06bd0119f Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 14 Sep 2024 21:19:24 +0200 -cleanup Diffstat:
| M | src/auditor/test-auditor.sh | | | 10 | +++------- |
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh @@ -771,13 +771,9 @@ function test_3() { check_report \ "reserve-balance-summary-wrong-inconsistency" \ "auditor_amount" "TESTKUDOS:5.01" - - EXPECTED=$(jq -e .reserve_balance_summary_wrong_inconsistency[0].exchange_amount \ - < "${MY_TMP_DIR}/reserve-balance-summary-wrong-inconsistency.json") - if [ "$EXPECTED" != '"TESTKUDOS:0.01"' ] - then - exit_fail "Expected reserve balance summary amount wrong, got $EXPECTED (exchange)" - fi + check_report \ + "reserve-balance-summary-wrong-inconsistency" \ + "exchange_amount" "TESTKUDOS:0.01" #TODO: we receive 22.96 instead of 0 - check what it should be #call_endpoint "balances" "reserves_reserve_loss"