Fix jwt-token

This commit is contained in:
2025-09-16 08:17:44 +02:00
parent ccb58c3542
commit d8ec4e7293

View File

@@ -67,7 +67,7 @@ describe('Auth Routes', () => {
const tenant = await createTestTenant({ slug: 'test-tenant' }); const tenant = await createTestTenant({ slug: 'test-tenant' });
const user = await createTestUser({ const user = await createTestUser({
username: 'testuser', username: 'testuser',
password: '$2b$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', password_hash: '$2b$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi',
tenant_id: tenant.id tenant_id: tenant.id
}); });
@@ -87,7 +87,7 @@ describe('Auth Routes', () => {
const tenant = await createTestTenant({ slug: 'test-tenant' }); const tenant = await createTestTenant({ slug: 'test-tenant' });
const user = await createTestUser({ const user = await createTestUser({
username: 'inactive', username: 'inactive',
password: '$2b$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', password_hash: '$2b$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi',
is_active: false, is_active: false,
tenant_id: tenant.id tenant_id: tenant.id
}); });