appwrite/tests
Jake Barnby a0b8437f08 fix: scope file caching to Database tests only, revert for non-Database tests
The previous file caching approach cached getRoot(), getUser(), getProject(),
and getConsoleVariables() globally. This caused all test methods in a class
to share the same project, breaking non-Database tests that expect isolated
state (Account 401s, Storage 500s, Users 404s, etc.).

Now file caching is only applied in Database/Transaction test setup chains:
- ensureSharedProject() in DatabasesBase, TransactionsBase, TransactionPermissionsBase
  creates and file-caches both the project AND user so all methods share
  consistent project + user state (needed for collection permissions)
- Non-Database tests (Account, Storage, Users, etc.) create their own
  isolated projects per-process as before

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 02:46:56 +13:00
..
benchmarks Add more benchmarks, update DB Lib 2025-02-13 16:52:53 +09:00
e2e fix: scope file caching to Database tests only, revert for non-Database tests 2026-02-21 02:46:56 +13:00
extensions Fix hooks 2026-01-15 17:21:05 +13:00
resources Merge branch '1.8.x' into feat-mongodb 2026-02-18 08:42:56 +00:00
unit Merge branch '1.8.x' into feat-mongodb 2026-02-20 01:33:02 +13:00