test(projects): pin duplicate project-type name as a 409 #241

Merged
nrupard merged 1 commit from feat/PMS-322-project-type-lookup into main 2026-06-15 16:46:42 +02:00
Owner

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

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>
test(projects): pin duplicate project-type name as a 409
All checks were successful
E2E / Playwright against staging (pull_request) Successful in 42s
Check / fmt + clippy + compile + unit/doc tests (pull_request) Successful in 1m5s
Create release / Create release from merged PR (pull_request) Has been skipped
Integration / integration tests (pull_request) Successful in 5m16s
9bdca67a4f
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>
nrupard deleted branch feat/PMS-322-project-type-lookup 2026-06-15 16:46:42 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!241
No description provided.