appwrite/tests/e2e/Services/Databases
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
..
Legacy fix: resolve additional merge corruptions in test files 2026-02-18 04:11:37 +13:00
Permissions fix: Fix remaining parallel-safety issues from CI iteration 2 2026-02-09 14:55:41 +13:00
TablesDB Merge remote-tracking branch 'origin/feat-db-tests' into feat-mongodb 2026-02-18 03:27:23 +13:00
Transactions fix: scope file caching to Database tests only, revert for non-Database tests 2026-02-21 02:46:56 +13:00
DatabasesBase.php fix: scope file caching to Database tests only, revert for non-Database tests 2026-02-21 02:46:56 +13:00
LegacyConsoleClientTest.php Consolidate, remove depends, add fixtures 2026-01-10 03:21:31 +13:00
LegacyCustomClientTest.php Consolidate, remove depends, add fixtures 2026-01-10 03:21:31 +13:00
LegacyCustomServerTest.php Consolidate, remove depends, add fixtures 2026-01-10 03:21:31 +13:00
TablesDBConsoleClientTest.php Consolidate, remove depends, add fixtures 2026-01-10 03:21:31 +13:00
TablesDBCustomClientTest.php Consolidate, remove depends, add fixtures 2026-01-10 03:21:31 +13:00
TablesDBCustomServerTest.php Consolidate, remove depends, add fixtures 2026-01-10 03:21:31 +13:00