aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-09-14 21:19:24 +0200
committerChristian Grothoff <christian@grothoff.org>2024-09-14 21:19:24 +0200
commit9db383fa25337ad9724241b625bb4cf39df1dcde (patch)
treecbc284db327df92c63583fe40106e8d579c7161e /src
parentf5ae834952871f209cda38f205f3aad06bd0119f (diff)
-cleanup
Diffstat (limited to 'src')
-rwxr-xr-xsrc/auditor/test-auditor.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 2d4ec43dd..6b22d739d 100755
--- 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"