Fix jwt-token

This commit is contained in:
2025-09-15 15:25:41 +02:00
parent a416a5c391
commit 8f18fe4b24

View File

@@ -65,6 +65,7 @@ describe('Models', () => {
const tenant2 = await createTestTenant({ slug: 'tenant2' });
const timestamp = Date.now();
console.log('Creating user1 with tenant:', tenant1.id);
const user1 = await models.User.create({
username: 'testuser',
email: `test1-${timestamp}@example.com`,
@@ -72,6 +73,7 @@ describe('Models', () => {
tenant_id: tenant1.id
});
console.log('Creating user2 with tenant:', tenant2.id);
const user2 = await models.User.create({
username: 'testuser',
email: `test2-${timestamp}@example.com`,