mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
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> |
||
|---|---|---|
| .. | ||
| Legacy | ||
| Permissions | ||
| TablesDB | ||
| Transactions | ||
| DatabasesBase.php | ||
| LegacyConsoleClientTest.php | ||
| LegacyCustomClientTest.php | ||
| LegacyCustomServerTest.php | ||
| TablesDBConsoleClientTest.php | ||
| TablesDBCustomClientTest.php | ||
| TablesDBCustomServerTest.php | ||