Jake Barnby and Claude Opus 4.5
63b3365ce9
Fix PHPUnit 11 migration test issues
...
- Add missing @depends testCreateDatabase to testUpdateWithExistingRelationships in DatabasesBase.php
- Fix data provider keys in LegacyPermissionsMemberTest and TablesDBPermissionsMemberTest to match parameter names (any->anyCount, users->usersCount, doconly->docOnlyCount)
- Convert provideCustomExecutions data provider to positional arrays to avoid PHPUnit 11 named argument conflicts with @depends
- Restore @depends testUpdateAccountPhone for testCreatePhoneVerification in GraphQL AccountTest
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 18:59:53 +13:00
Jake Barnby and Claude Opus 4.5
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 and Claude Opus 4.5
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 and Claude Opus 4.5
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
46072bb95e
fix: test.
2026-01-07 18:32:03 +05:30
Darshan
47ea8699d1
add: tests.
2026-01-07 18:05:33 +05:30
Darshan
228d095ee5
address comment and fix tests.
2026-01-07 13:57:41 +05:30
Darshan
f788fc8f8a
add: tests.
2026-01-03 15:42:55 +05:30
Darshan
062233cdbc
Merge branch '1.8.x' into database-errors
2025-12-11 16:10:00 +05:30
Darshan
ef5f0ed6b4
update: to use placeholders.
2025-12-11 15:26:45 +05:30
loks0n
f765eb92e7
feat: cors service
2025-12-11 09:01:31 +00:00
Damodar Lohani
8f87b9cb5e
Merge branch '1.8.x' into feat-screenshots-endpoint
2025-10-29 09:19:47 +05:45
eldadfux
f13c029751
Refactor avatar screenshot API to replace 'viewport' parameter with separate 'viewportWidth' and 'viewportHeight' parameters; update related tests for validation of new dimensions and edge cases.
2025-10-24 22:53:10 +01:00
Chirag Aggarwal
9c0772f125
add tests
2025-10-24 14:19:59 +05:30
Eldad Fux
e00a73f442
Enhance avatar screenshot API by adding 'scale' parameter for browser scaling; update related tests to validate new functionality and edge cases.
2025-10-22 10:22:17 +01:00
Eldad Fux
dc7bb627d5
Enhance avatar screenshot API with new parameters and validations; add GraphQL support and extensive tests for various scenarios
2025-10-22 01:24:31 +01:00
ArnabChatterjee20k
ba0d334f80
Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes
2025-08-27 17:00:28 +05:30
ArnabChatterjee20k
0e343125b7
updated graphql queries
2025-08-27 16:35:55 +05:30
Jake Barnby
76db65583d
Fix GQL test
2025-08-27 15:21:23 +12:00
ArnabChatterjee20k
afba5583bb
added server and client test for create , update and delete
2025-08-22 12:47:35 +05:30
Jake Barnby
842dce2659
Update tablesDb -> tablesDB
2025-08-21 02:20:05 +12:00
Jake Barnby
b965d1077c
More fix namespace
2025-08-20 01:41:46 +12:00
Jake Barnby
14f8f9af4e
Fix namespace
2025-08-20 01:39:18 +12:00
Jake Barnby
a53be858a8
Fix email gql
2025-08-20 01:33:01 +12:00
Jake Barnby
f27ac986fa
Fix un-fixed ref
2025-08-19 23:14:36 +12:00
Jake Barnby
6f170fdb6d
Fix static user refs
2025-08-19 23:13:47 +12:00
Jake Barnby
64fd27ee06
Fix tablesDB GQL payloads for DB resource
2025-08-19 23:03:36 +12:00
Jake Barnby
6d2832831c
Remove weird static/const mix
2025-08-19 23:03:18 +12:00
Jake Barnby
670e869855
Migrate to TablesDB
2025-08-18 19:15:49 +12:00
Jake Barnby
afdd8cf58f
Merge branch '1.8.x' into cursor/update-docker-base-to-0-10-3-27d7
2025-08-09 17:50:31 +12:00
Cursor Agent and jakeb994
bb5e25ea4b
Update GraphQL avatars test to validate response headers and content
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-09 05:03:47 +00:00
Cursor Agent and jakeb994
f0e49bb2a3
Update avatar test to validate response headers and content type
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-09 04:58:11 +00:00
Cursor Agent and jakeb994
ff8ad93544
Update avatar test to validate response headers and content type
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-09 04:44:19 +00:00
Cursor Agent and jakeb994
6ca9cbf3d7
Update credit card icon size in AvatarsTest
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-08 13:33:52 +00:00
Darshan
1ed45def9d
update: graphql tests.
2025-07-27 15:23:07 +05:30
Darshan
1f31b75582
fix: tests.
2025-07-27 14:48:19 +05:30
Jake Barnby
9ceeb76ad0
Merge branch '1.7.x' into 1.8.x
...
# Conflicts:
# app/controllers/api/databases.php
# composer.lock
# src/Appwrite/GraphQL/Types/Mapper.php
2025-07-18 17:24:12 +12:00
Matej Bačo
5ace34790d
Migrate many tests to JS
2025-07-09 16:58:55 +02:00
Darshan
4521302cb8
fix: graphql test for complex queries.
2025-06-19 18:36:32 +05:30
Darshan
531f50a2c7
fix: sdk namespacing and graphql tests.
2025-06-19 17:59:29 +05:30
Darshan
7ebe8f6c9e
revert: legacy tests namespacing to old.
2025-06-19 17:34:16 +05:30
Darshan
9cfff792fd
add: graphql tests for bulk apis to server tests.
2025-06-13 14:13:26 +05:30
Darshan
6e1fa0526d
add: graphql tests for bulk apis to server tests.
2025-06-13 14:07:33 +05:30
Darshan
2e05844ca2
add: graphql tests for bulk apis.
2025-06-13 14:04:23 +05:30
Darshan
b0d9215ea5
fix: abuse tests!
2025-05-10 11:57:32 +05:30
Darshan
63d591e766
fix: method name.
2025-05-10 11:39:46 +05:30
Darshan
9ba29d4779
update: var name.
2025-05-10 11:36:55 +05:30
Darshan
68994f2634
fix: graphql tests.
2025-05-10 10:19:01 +05:30
Darshan
594f8595ae
update: database server test for graphql <> tables api.
2025-05-10 10:10:23 +05:30