fix: add missing passwordHash to DB test user factory #18

Merged
michal merged 1 commits from fix/db-tests-passwordhash into main 2026-02-23 01:03:11 +00:00
Owner

The User model gained a required passwordHash field but the test helper createUser() was never updated, causing all 13 user-dependent DB tests to fail.

  • Added passwordHash to the test factory
  • All 28 DB tests now pass (624 total across workspace)
The User model gained a required `passwordHash` field but the test helper `createUser()` was never updated, causing all 13 user-dependent DB tests to fail. - Added `passwordHash` to the test factory - All 28 DB tests now pass (624 total across workspace)
michal added 1 commit 2026-02-23 01:03:02 +00:00
fix: add missing passwordHash to DB test user factory
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / typecheck (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / package (pull_request) Has been cancelled
3a6e58274c
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
michal merged commit a6b5e24a8d into main 2026-02-23 01:03:11 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: michal/mcpctl#18