@davoodmehraban89 / Aram-1 / commits / 700d800
Fork 0

test(v1): document protected-year regression gate

davoodmehraban89 committed Aug 26, 2026 at 19:13 UTC 700d800dbd9c657f6bd510faafedcbde4847fafd
1 file changed +1
backend/tests/test_models.py
+1
@@ -160,6 +160,7 @@ def test_invalid_status_skip_is_rejected(session):
160 session.commit()
161
162
163 +# These adversarial cases reproduce the V1 audit bypasses; keep them as release gates.
164 @pytest.mark.parametrize("status", [FiscalYearStatus.APPROVED, FiscalYearStatus.LOCKED])
165 def test_protected_year_identity_cannot_be_mutated(session, status):
166 year = make_year(session)