test(housekeeping): cover rank and currency audit logs

Rank changes and manual currency grants are among the highest-risk housekeeping actions. They already write audit entries, but the coverage contract did not list them, so a future regression could silently remove those logs. Extend the contract test to require audit logging for credit grants, currency grants, and rank changes.
This commit is contained in:
simoleo89
2026-06-13 16:04:27 +02:00
parent 79d734ef26
commit 4b81997e62
@@ -12,7 +12,10 @@ class HousekeepingAuditCoverageContractTest {
private static final List<String> SENSITIVE_HANDLERS = List.of(
"HousekeepingBanUserEvent.java",
"HousekeepingMuteUserEvent.java",
"HousekeepingGiveCreditsEvent.java",
"HousekeepingGiveCurrencyEvent.java",
"HousekeepingResetUserPasswordEvent.java",
"HousekeepingSetUserRankEvent.java",
"HousekeepingSetHcSubscriptionEvent.java",
"HousekeepingTradeLockUserEvent.java",
"HousekeepingGrantItemEvent.java",