diff --git a/server/tests/models/models.test.js b/server/tests/models/models.test.js index ae4ebd4..597f05e 100644 --- a/server/tests/models/models.test.js +++ b/server/tests/models/models.test.js @@ -64,16 +64,17 @@ describe('Models', () => { const tenant1 = await createTestTenant({ slug: 'tenant1' }); const tenant2 = await createTestTenant({ slug: 'tenant2' }); + const timestamp = Date.now(); const user1 = await models.User.create({ username: 'testuser', - email: 'test1@example.com', + email: `test1-${timestamp}@example.com`, password_hash: 'hashedpassword', tenant_id: tenant1.id }); const user2 = await models.User.create({ username: 'testuser', - email: 'test2@example.com', + email: `test2-${timestamp}@example.com`, password_hash: 'hashedpassword', tenant_id: tenant2.id });