ModernUO/Projects/UOContent.Tests/Tests
Kamron Batman 1b0bdcf609 fix(accounts): restore AccountSecurity.CurrentAlgorithm after each test case
AccountPasswordTests mutates the process-wide AccountSecurity.CurrentAlgorithm
static in every test case and never restored it. The class shares the
"Sequential UOContent Tests" collection with ~45 other test classes;
DisableParallelization serialises them but gives no isolation between classes,
so whichever algorithm a case last set leaked into whatever ran next. Nothing
reads CurrentAlgorithm elsewhere today, but Tasks 6 and 7 add rehash tests to
this same file that will.

Capture the ambient algorithm in the constructor and restore it via
IDisposable so xUnit's per-test-case construct/dispose cycle resets it
automatically -- tests added later to this file inherit the restoration
without having to opt in.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 16:33:18 -07:00
..
Accounting fix(accounts): restore AccountSecurity.CurrentAlgorithm after each test case 2026-08-07 16:33:18 -07:00
Engines fix(opl): refuse property list invalidation raised from inside GetProperties (#2555) 2026-07-28 21:29:03 -07:00
Gumps feat: Adds grid support for the DynamicGump system (#2306) 2026-01-03 10:12:22 -08:00
Items fix: Items dropped on the ground never decay (#2536) 2026-07-16 18:51:04 -07:00
Misc chore: Fixes name verification test (#2201) 2025-05-26 22:36:23 -07:00
Mobiles/AI fix(ci): run test projects on CI; remove brittle OPL attribute tests (#2513) 2026-07-02 22:35:37 -07:00
Multis fix(housing): register doors, and stop crashing on client component sheets (#2557) 2026-08-04 20:05:28 -07:00
Network feat(network): allowlist false-positive IPs, escalate on behavior (#2556) 2026-07-30 23:12:17 -07:00
Skills feat: Implements passive Detect Hidden mechanics (#2342) 2026-02-28 11:24:49 -08:00
Spells fix(necromancy): correct Blood Oath duration, reflection, and expiry timing (#1690) (#2480) 2026-06-08 23:42:28 -07:00
Utilities fix: Harden Advanced Search: crash-safety, autosave, correct results & worker fixes (#2543) 2026-07-21 07:51:06 -07:00
WorldSaves feat: Implements new robust/pluggable backup/archive system. (#2388) 2026-03-22 19:51:20 -07:00