test(projects): pin duplicate project-type name as a 409 #241
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/PMS-322-project-type-lookup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Review follow-up. The UNIQUE (tenant_id, name) index on project_types maps a duplicate name to a 23505, which the error converter surfaces as 409. Add coverage for both collision cases: reusing a seeded system name (client) and reusing a custom name, asserting 409 rather than a 500.
#PMS-322
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com