1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-24 17:51:14 +02:00

fix test after new constraint

This commit is contained in:
Gastón Fournier 2025-09-23 13:43:36 +02:00
parent 3160cd18f0
commit fb6c2fb40a
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -16,7 +16,7 @@ const mockUser = (deletedDaysAgo: number | null, uniqueId: number) => {
? new Date(Date.now() - deletedDaysAgo * 24 * 60 * 60 * 1000) ? new Date(Date.now() - deletedDaysAgo * 24 * 60 * 60 * 1000)
: null; : null;
return { return {
email: `${uniqueId}.user@example.com`, email: deletedAt === null ? `${uniqueId}.user@example.com` : null,
email_hash: `${uniqueId}.user@example.com`, email_hash: `${uniqueId}.user@example.com`,
deleted_at: deletedAt, deleted_at: deletedAt,
}; };