f9964591330a2d0c0afd65b484e727f4579d05b7
- PET-01: create stores pet with ownerId, validates name<=30, upserts owner FK
- PET-02: update FORBIDDEN for non-owner, succeeds for owner
- PET-03: delete by owner succeeds ({ success: true }); FORBIDDEN for non-owner
- PET-05: adoptionStory persists to DB; validates max 500 chars
- Ownership assertion: FORBIDDEN tested for both update and delete (T-3-01)
- All 11 tests passing; no real DB calls (mocked via createMockPrisma)
Languages
TypeScript
98.6%
Shell
0.5%
CSS
0.4%
HTML
0.2%
JavaScript
0.2%
Other
0.1%