Fix jwt-token
This commit is contained in:
@@ -37,7 +37,7 @@ describe('Auth Routes', () => {
|
||||
|
||||
const response = await request(app)
|
||||
.post('/auth/login')
|
||||
.set('x-tenant-id', 'test-tenant') // Set tenant via header for test
|
||||
.set('Host', 'test-tenant.example.com') // Use fake domain for subdomain extraction
|
||||
.send({
|
||||
username: 'testuser',
|
||||
password: 'password'
|
||||
|
||||
Reference in New Issue
Block a user