You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-20 15:36:17 +00:00
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:
+3
@@ -12,7 +12,10 @@ class HousekeepingAuditCoverageContractTest {
|
|||||||
private static final List<String> SENSITIVE_HANDLERS = List.of(
|
private static final List<String> SENSITIVE_HANDLERS = List.of(
|
||||||
"HousekeepingBanUserEvent.java",
|
"HousekeepingBanUserEvent.java",
|
||||||
"HousekeepingMuteUserEvent.java",
|
"HousekeepingMuteUserEvent.java",
|
||||||
|
"HousekeepingGiveCreditsEvent.java",
|
||||||
|
"HousekeepingGiveCurrencyEvent.java",
|
||||||
"HousekeepingResetUserPasswordEvent.java",
|
"HousekeepingResetUserPasswordEvent.java",
|
||||||
|
"HousekeepingSetUserRankEvent.java",
|
||||||
"HousekeepingSetHcSubscriptionEvent.java",
|
"HousekeepingSetHcSubscriptionEvent.java",
|
||||||
"HousekeepingTradeLockUserEvent.java",
|
"HousekeepingTradeLockUserEvent.java",
|
||||||
"HousekeepingGrantItemEvent.java",
|
"HousekeepingGrantItemEvent.java",
|
||||||
|
|||||||
Reference in New Issue
Block a user