admin f996459133 test(01-03): implement pet-profile unit tests (PET-01 through PET-05)
- 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)
2026-06-06 10:18:52 +02:00
2026-06-05 16:38:59 +02:00
S
Description
No description provided
58 MiB
1 Stars 1 Watchers 0 Forks
Languages
TypeScript 98.6%
Shell 0.5%
CSS 0.4%
HTML 0.2%
JavaScript 0.2%
Other 0.1%