Jake Barnby
3ecb4ee4e2
Sync 1.8.x
2026-02-26 18:50:29 +13:00
Jake Barnby
b41678d57a
Merge remote-tracking branch 'origin/feat-mongodb' into feat-installer
...
# Conflicts:
# .github/workflows/tests.yml
# Dockerfile
# app/views/install/compose.phtml
# composer.lock
# mongo-entrypoint.sh
# src/Appwrite/Platform/Tasks/Install.php
# src/Appwrite/Platform/Tasks/Upgrade.php
# tests/e2e/Client.php
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Databases/Legacy/DatabasesCustomClientTest.php
# tests/e2e/Services/Databases/Legacy/DatabasesCustomServerTest.php
# tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
# tests/e2e/Services/Databases/TablesDB/DatabasesCustomClientTest.php
# tests/e2e/Services/Databases/TablesDB/DatabasesCustomServerTest.php
# tests/e2e/Services/Databases/Transactions/TransactionsBase.php
# tests/e2e/Services/GraphQL/Legacy/DatabaseServerTest.php
# tests/e2e/Services/GraphQL/TablesDB/DatabaseServerTest.php
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
# tests/e2e/Services/Teams/TeamsCustomClientTest.php
2026-02-13 17:09:42 +13:00
Jake Barnby
e3c58a8c05
fix: Correct test capability gates and GraphQL dependencies
...
- Change spatial test gates from getSupportForRelationships() to
getSupportForSpatials() in both Legacy and TablesDB DatabasesBase
- Add both relationship AND spatial gates for spatial relationship tests
- Add missing @depends for float, email, and datetime attributes/columns
in GraphQL Server tests to ensure schema is complete before document/row
creation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 05:06:48 +13:00
Jake Barnby
e70739a3c0
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# Dockerfile
# app/controllers/api/account.php
# app/controllers/api/avatars.php
# app/controllers/api/console.php
# app/controllers/api/projects.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/http.php
# app/init/database/filters.php
# app/init/registers.php
# app/init/resources.php
# app/views/install/compose.phtml
# composer.json
# composer.lock
# docker-compose.yml
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Update.php
# src/Appwrite/Platform/Modules/Functions/Http/Deployments/XList.php
# src/Appwrite/Platform/Tasks/Install.php
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2026-02-05 01:01:03 +13:00
Jake Barnby
4adc4f65ad
Add missing PHPUnit #[Depends] to GraphQL Functions tests
...
Fixed missing #[Depends] attributes:
- FunctionsClientTest: 4 methods (testCreateDeployment, testCreateExecution,
testGetExecutions, testGetExecution)
- FunctionsServerTest: 11 methods (all test methods with parameters)
- Legacy/DatabaseServerTest: Fixed testCreateIndex dependency
(was depending on void-returning testUpdateURLAttribute)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 18:28:38 +13:00
Jake Barnby
1d03af22e4
Add missing PHPUnit #[Depends] attributes to GraphQL tests
...
PHPUnit 11 requires explicit #[Depends] attributes. The migration removed
@depends annotations but didn't add all corresponding #[Depends] attributes.
Fixed in:
- GraphQL/Legacy/DatabaseClientTest: 5 methods
- GraphQL/StorageClientTest: 7 methods
- GraphQL/StorageServerTest: 10 methods
- GraphQL/TeamsServerTest: 3 methods
- GraphQL/TeamsClientTest: 2 methods
- GraphQL/TablesDB/DatabaseServerTest: ~40 methods
- GraphQL/TablesDB/DatabaseClientTest: 5 methods
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 18:10:30 +13:00
Jake Barnby
7d6ac8f7a2
Add missing PHPUnit #[Depends] attributes
...
PHPUnit 11 requires explicit #[Depends] attributes instead of the old
@depends annotations. Several test methods were missing these attributes,
causing "Too few arguments" errors when PHPUnit tried to run the tests.
Fixed in:
- AccountCustomClientTest: testUpdateAccountPassword, testUpdateAccountRecovery, testCreateSession
- GraphQL/Legacy/DatabaseServerTest: Added 36 missing #[Depends] attributes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 17:51:31 +13:00
Jake Barnby
714b8d7ea6
Migrate to PHPUnit 11
2026-01-15 16:14:53 +13:00
Darshan
ef5f0ed6b4
update: to use placeholders.
2025-12-11 15:26:45 +05:30
Jake Barnby
2776925540
Tests via console features
2025-11-25 21:11:01 +13:00
Jake Barnby
bae759957c
Fix graphql test
2025-10-23 23:57:11 +13:00
Jake Barnby
f27ac986fa
Fix un-fixed ref
2025-08-19 23:14:36 +12:00
Jake Barnby
6d2832831c
Remove weird static/const mix
2025-08-19 23:03:18 +12:00
Darshan
7ebe8f6c9e
revert: legacy tests namespacing to old.
2025-06-19 17:34:16 +05:30