more testing for auditor logic
This commit is contained in:
parent
9ad9e7e064
commit
dff81f4577
@ -95,14 +95,24 @@ HONOR_default = YES
|
|||||||
ACTIVE_default = YES
|
ACTIVE_default = YES
|
||||||
|
|
||||||
[fees-x-taler-bank]
|
[fees-x-taler-bank]
|
||||||
wire-fee-2019 = TESTKUDOS:0.01
|
|
||||||
closing-fee-2019 = TESTKUDOS:0.01
|
|
||||||
wire-fee-2020 = TESTKUDOS:0.01
|
wire-fee-2020 = TESTKUDOS:0.01
|
||||||
closing-fee-2020 = TESTKUDOS:0.01
|
closing-fee-2020 = TESTKUDOS:0.01
|
||||||
wire-fee-2021 = TESTKUDOS:0.01
|
wire-fee-2021 = TESTKUDOS:0.01
|
||||||
closing-fee-2021 = TESTKUDOS:0.01
|
closing-fee-2021 = TESTKUDOS:0.01
|
||||||
wire-fee-2022 = TESTKUDOS:0.01
|
wire-fee-2022 = TESTKUDOS:0.01
|
||||||
closing-fee-2022 = TESTKUDOS:0.01
|
closing-fee-2022 = TESTKUDOS:0.01
|
||||||
|
wire-fee-2023 = TESTKUDOS:0.01
|
||||||
|
closing-fee-2023 = TESTKUDOS:0.01
|
||||||
|
wire-fee-2024 = TESTKUDOS:0.01
|
||||||
|
closing-fee-2024 = TESTKUDOS:0.01
|
||||||
|
wire-fee-2025 = TESTKUDOS:0.01
|
||||||
|
closing-fee-2025 = TESTKUDOS:0.01
|
||||||
|
wire-fee-2026 = TESTKUDOS:0.01
|
||||||
|
closing-fee-2026 = TESTKUDOS:0.01
|
||||||
|
wire-fee-2027 = TESTKUDOS:0.01
|
||||||
|
closing-fee-2027 = TESTKUDOS:0.01
|
||||||
|
wire-fee-2028 = TESTKUDOS:0.01
|
||||||
|
closing-fee-2028 = TESTKUDOS:0.01
|
||||||
|
|
||||||
[merchant-instance-wireformat-default]
|
[merchant-instance-wireformat-default]
|
||||||
TEST_RESPONSE_FILE = ${TALER_CONFIG_HOME}/merchant/wire/tutorial.json
|
TEST_RESPONSE_FILE = ${TALER_CONFIG_HOME}/merchant/wire/tutorial.json
|
||||||
|
@ -2221,7 +2221,7 @@ run (void *cls,
|
|||||||
/* Tested in test-auditor.sh #4/#5/#6/#13/#26 */
|
/* Tested in test-auditor.sh #4/#5/#6/#13/#26 */
|
||||||
"total_bad_sig_loss",
|
"total_bad_sig_loss",
|
||||||
TALER_JSON_from_amount (&total_bad_sig_loss),
|
TALER_JSON_from_amount (&total_bad_sig_loss),
|
||||||
/* FIXME: Tested in test-auditor.sh #?? */
|
/* Tested in test-auditor.sh #31 */
|
||||||
"row_inconsistencies",
|
"row_inconsistencies",
|
||||||
report_row_inconsistencies,
|
report_row_inconsistencies,
|
||||||
/* Block #3 */
|
/* Block #3 */
|
||||||
|
@ -864,9 +864,16 @@ get_closing_fee (const char *receiver_account,
|
|||||||
fee,
|
fee,
|
||||||
&master_sig))
|
&master_sig))
|
||||||
{
|
{
|
||||||
|
char *diag;
|
||||||
|
|
||||||
|
GNUNET_asprintf (&diag,
|
||||||
|
"closing fee for `%s' unavailable at %s\n",
|
||||||
|
method,
|
||||||
|
GNUNET_STRINGS_absolute_time_to_string (atime));
|
||||||
report_row_inconsistency ("closing-fee",
|
report_row_inconsistency ("closing-fee",
|
||||||
atime.abs_value_us,
|
atime.abs_value_us,
|
||||||
"closing fee unavailable at given time");
|
diag);
|
||||||
|
GNUNET_free (diag);
|
||||||
GNUNET_free (method);
|
GNUNET_free (method);
|
||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user