Jake Barnby
1f17dca7c9
fix: Handle 409 conflicts in GraphQL TablesDB tests
...
- setupDatabase() now fetches existing database on conflict
- setupTable() now fetches existing tables on conflict
- Enables parallel test execution with fixed resource IDs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 20:56:45 +13:00
Jake Barnby
2a3e2d8be5
perf: Remove @depends from all GraphQL tests
...
Added helper methods with static caching for:
- Legacy/DatabaseClientTest.php
- Legacy/DatabaseServerTest.php
- TablesDB/DatabaseClientTest.php
- TablesDB/DatabaseServerTest.php
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 12:01:31 +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
714b8d7ea6
Migrate to PHPUnit 11
2026-01-15 16:14:53 +13:00
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
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