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

View File

@@ -23,6 +23,7 @@ async function createUser(overrides: { email?: string; name?: string; role?: 'US
data: {
email: overrides.email ?? `test-${Date.now()}@example.com`,
name: overrides.name ?? 'Test User',
passwordHash: '$2b$10$test-hash-placeholder',
role: overrides.role ?? 'USER',
},
});