Jake Barnby and Claude Opus 4.6
161e4e53d4
fix: Address remaining parallel-safety failures across all test suites
...
- Fix Legacy DatabasesStringTypesTest with project-keyed setup cache
- Fix Account OTP test with unique email, phone session re-login
- Fix GraphQL setup methods with sleep, 409 handling, missing columns
- Fix Databases list/pagination tests with document ID filtering
- Fix Permissions tests with assertGreaterThanOrEqual for counts
- Fix Messaging scheduled tests to not depend on scheduler timing
- Increase Realtime WebSocket timeout to 60s and assertEventually to 30s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-09 14:20:42 +13:00
Jake Barnby and Claude Opus 4.6
2da4211f69
fix: Make E2E tests parallel-safe for functional mode
...
- Fix missing return statement in DatabasesBase::testListDocuments
- Rewrite DatabasesStringTypesTest with project-keyed setup cache
- Use assertGreaterThanOrEqual in Functions testListDeployments
- Clean up OIDC provider after Account OAuth2 test
- Key all GraphQL static caches by project ID with unique IDs
- Replace sleep() with assertEventually in Realtime tests
- Increase Messaging scheduled message timeout to 180s
- Increase Sites deployment timeouts to 120s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-09 13:25:19 +13:00
Jake Barnby and Claude Opus 4.5
02240fd14f
fix: Correct TablesDB API paths in Realtime test helpers
...
- Use /databases endpoint instead of /tablesdb for database creation
- Use /columns/string instead of /attributes/string for table columns
- Fix testAttributesCollectionsAPI return type from array to void
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 04:46:59 +13:00
Jake Barnby and Claude Opus 4.5
2e9c1b4745
fix: Remove @depends chains from Realtime tests for parallel execution
...
- Add helper methods createCollectionWithAttribute(), createTableWithAttribute(),
createCollectionWithIndex(), createTableWithIndex() to RealtimeConsoleClientTest
- Add createTeam() helper to RealtimeCustomClientTest
- Replace all @depends annotations with direct helper method calls
- Enable tests to run in parallel with --functional flag
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 04:28:12 +13:00
Jake Barnby
714b8d7ea6
Migrate to PHPUnit 11
2026-01-15 16:14:53 +13:00
Jake Barnby
ca03be5e41
Test fixes
2025-08-18 21:16:01 +12:00
Darshan
7a5a3706b6
fix: tests.
2025-07-27 18:13:30 +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
Jake Barnby
b2fa28754d
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
...
# Conflicts:
# .github/workflows/benchmark.yml
# composer.lock
# src/Appwrite/Event/Database.php
2025-07-04 10:00:45 -04:00
Matej Bačo
b6d4baf4dc
Fix tests
2025-06-25 13:14:08 +02:00
Darshan
1ac22c0ae0
Merge branch '1.8.x' into 'database-aliases'.
2025-06-11 12:36:33 +05:30
Matej Bačo
2bee98afcf
Fix remaining tests
2025-05-18 12:51:07 +02:00
Matej Bačo
3b38b6bb57
Migration review fixes
2025-05-12 16:52:13 +02:00
Darshan
94fbf19e54
fix|add: tables api tests to realtime.
2025-05-09 15:11:14 +05:30
Darshan
9e1105b61f
update: tests.
2025-05-06 11:29:56 +05:30
Darshan
f94ecc885a
fix: tests as per new events system.
2025-04-27 10:36:21 +05:30
Matej Bačo
3c8e4da34d
Update tests
2025-03-26 17:04:38 +01:00
Matej Bačo
828b9349c3
Improve build worker realtime, new tests
2025-03-17 13:21:36 +01:00
loks0n
e0bd500aa2
fix: realtime event
2024-10-07 15:58:34 +01:00
loks0n
6dab42e59a
chore: use project injectable
2024-10-07 14:00:19 +01:00
Torsten Dittmann
04bc24f42b
tests: fix merge conflict
2024-10-03 11:20:47 +02:00
Torsten Dittmann
ec77ab1007
Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups
2024-10-03 11:13:44 +02:00
Torsten Dittmann
bb20b3f52c
feat(realtime): projects channels
2024-09-30 16:32:50 +02:00
loks0n
cb0416be7b
chore: fmt
2024-09-19 21:08:04 +01:00
Torsten Dittmann
0a1d572c72
chore: run formatter
2024-03-06 18:34:21 +01:00
Christy Jacob
050cb28d4f
fix: incorrect events
2023-10-18 20:30:47 +04:00
Christy Jacob
5f9059e221
chore: run linter
2023-10-18 19:50:40 +04:00
Christy Jacob
2a201a9d1c
chore: fix flaky tests
2023-10-18 19:42:23 +04:00
Jake Barnby
18f86b057d
Test fixes
2023-08-30 01:31:21 -04:00
Matej Bačo
897d299ae6
PR review changes, fixes from QA
2023-08-11 15:34:57 +02:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2
2023-08-04 13:55:07 -07:00
Damodar Lohani
f59d3563f4
Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync
2023-07-10 03:06:48 +00:00
Christy Jacob
18f5418f5c
chore: update tests
2023-06-15 13:23:15 +00:00
Torsten Dittmann
6e5b8fab4b
fix: implement new framework changes
2023-03-01 17:30:36 +05:30
shimon
5850a454e0
addressing comments
2023-02-05 22:07:46 +02:00
fogelito
8ade726932
Changing Role + Permissions namespace
2022-12-14 18:04:06 +02:00
fogelito
f96128e14f
Changing Id
2022-12-14 17:42:25 +02:00
Steven Nguyen
ab2bb8176c
Fix create deployment realtime not triggering
...
Because the deployment event was missing the project ID, the realtime
event never fired.
2022-10-25 13:38:04 -07:00
Jake Barnby
b007acfa95
ID updates
2022-08-14 22:33:36 +12:00
Jake Barnby
fe5d3a1892
Use permission helpers
2022-08-14 17:21:11 +12:00
Jake Barnby
d2b9102f84
Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
...
# Conflicts:
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Databases/DatabasesCustomServerTest.php
2022-08-13 00:54:27 +12:00
Jake Barnby
62b1eba836
Replace write refs
2022-08-05 17:23:18 +12:00
Jake Barnby
1ab86c9331
Role reference updates
2022-08-03 16:17:49 +12:00
Bradley Schofield
ac184a6fe3
Fix realtime and webhook tests
2022-07-20 13:43:18 +01:00
Bradley Schofield
74a53af316
Fix Tests
2022-07-18 14:22:23 +01:00
Torsten Dittmann
806a67b1b0
fix: realtime authentication on console
2022-07-06 12:53:30 +02:00
Damodar Lohani and Torsten Dittmann
8f14f5aa21
Database layer ( #3338 )
...
* database response model
* database collection config
* new database scopes
* database service update
* database execption codes
* remove read write permission from database model
* updating tests and fixing some bugs
* server side tests are now passing
* databases api
* tests for database endpoint
* composer update
* fix error
* formatting
* formatting fixes
* get database test
* more updates to events and usage
* more usage updates
* fix delete type
* fix test
* delete database
* more fixes
* databaseId in attributes and indexes
* more fixes
* fix issues
* fix index subquery
* fix console scope and index query
* updating tests as required
* fix phpcs errors and warnings
* updates to review suggestions
* UI progress
* ui updates and cleaning up
* fix type
* rework database events
* update tests
* update types
* event generation fixed
* events config updated
* updating context to support multiple
* realtime updates
* fix ids
* update context
* validator updates
* fix naming conflict
* fix tests
* fix lint errors
* fix wprler and realtime tests
* fix webhooks test
* fix event validator and other tests
* formatting fixes
* removing leftover var_dumps
* remove leftover comment
* update usage params
* usage metrics updates
* update database usage
* fix usage
* specs update
* updates to usage
* fix UI and usage
* fix lints
* internal id fixes
* fixes for internal Id
* renaming services and related files
* rename tests
* rename doc link
* rename readme
* fix test name
* tests: fixes for 0.15.x sync
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com >
2022-06-22 12:51:49 +02:00
Torsten Dittmann
aa86c26d18
tests: fix tests
2022-06-20 15:31:18 +02:00
Torsten Dittmann
7790d72c0c
fix: realtime, tests and webhooks
2022-04-18 18:21:45 +02:00